Click or drag to resize

FieldMappingSyncTargetFieldWithModelField Method (DBDriverBase, Boolean)

Syncs the target field's db Type, MaxLength, Precision and Scale with the model field's values for these properties, if possible, or leaves it as-is if no db type was found.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Mapping
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public void SyncTargetFieldWithModelField(
	DBDriverBase driverInstance,
	bool onlyWhenMatchingNetTypes
)

Parameters

driverInstance
Type: SD.LLBLGen.Pro.DBDriverCoreDBDriverBase
The driver instance.
onlyWhenMatchingNetTypes
Type: SystemBoolean
if set to true it will sync only when the .NET types are equal.
See Also