DynamicQueryEngineBaseAppendFieldToValueFragmentsForInsert Method |
Appends the field (or its expresssion) to the value fragments of the query specified for insert.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax protected void AppendFieldToValueFragmentsForInsert(
IActionQuery query,
Dictionary<IEntityFieldCore, DbParameter> fieldToParameter,
DelimitedStringList valueFragments,
IEntityFieldCore field,
IFieldPersistenceInfo persistenceInfo
)
Protected Sub AppendFieldToValueFragmentsForInsert (
query As IActionQuery,
fieldToParameter As Dictionary(Of IEntityFieldCore, DbParameter),
valueFragments As DelimitedStringList,
field As IEntityFieldCore,
persistenceInfo As IFieldPersistenceInfo
)
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.ORMSupportClassesDelimitedStringList
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