Click or drag to resize

GroupableModelElementCheckIfFieldsCanBeConvertedToValueType 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.7.0.0 (5.7.0)
Syntax
public virtual bool CheckIfFieldsCanBeConvertedToValueType(
	List<FieldElement> fields
)

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, the field can't be converted into a value type. If one field can't be converted, none of them can
See Also