Click or drag to resize

DynamicQueryEngineBaseAppendFieldToValueFragmentsForInsert Method

Appends the field (or its expresssion) to the value fragments of the query specified for insert.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
protected void AppendFieldToValueFragmentsForInsert(
	IActionQuery query,
	Dictionary<IEntityFieldCore, DbParameter> fieldToParameter,
	QueryFragments valueFragments,
	IEntityFieldCore field,
	IFieldPersistenceInfo persistenceInfo
)

Parameters

query
Type: SD.LLBLGen.Pro.ORMSupportClassesIActionQuery
The query.
fieldToParameter
Type: System.Collections.GenericDictionaryIEntityFieldCore, DbParameter
The field to parameter table, for non-expression fields. the parameter representing the value of the field is added to this table witht the field as key
valueFragments
Type: SD.LLBLGen.Pro.ORMSupportClassesQueryFragments
The value fragments, the delimited list which makes up the parameter for VALUES()
field
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
The field which value or expression should be added to the valueFragments.
persistenceInfo
Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
The persistence information for the field.
Remarks
If the field is a PK, the expression on the field is ignored. If the field isn't a PK and has an expression set, it won't be added to the fieldToParameter table.
See Also