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.2.0.0 (5.2.17.0403)
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