EntityBaseElementCheckIfFieldsCanBeConvertedToValueType Method |
Checks if the fields specified can be converted to a value type, which is then used in a new field to replace the specified field(s).
Namespace:
SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax public override bool CheckIfFieldsCanBeConvertedToValueType(
List<FieldElement> fields
)
Public Overrides Function CheckIfFieldsCanBeConvertedToValueType (
fields As List(Of FieldElement)
) As Boolean
Parameters
- fields
- Type: System.Collections.GenericListFieldElement
The fields.
Return Value
Type:
Boolean
true if the fields can be converted to a valuetype, false otherwise.
Remarks If a field is an identifying field, a discriminator field or is an FK field or a target of a forf, the field can't be converted into a value type.
If one field can't be converted, none of them can.
See Also