Click or drag to resize

EntityFieldsCoreTFieldContract Method

Contracts the list of fields so all empty slots at the end of the list of fields are removed. Doesn't perform a contract operation if the fields object is empty

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public int Contract()

Return Value

Type: Int32
the new size of the fields object, or if the fields object is completely empty, the full size
Exceptions
ExceptionCondition
InvalidOperationExceptionContract isn't supported on a fields object which is part of an entity
See Also