Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
public virtual QueryCommand InsertIdentiy(DataContext context, DataTableEntityMapping mapping) { CreateSqlState state = new CreateSqlState(context); CommandData commandData = null; if (mapping.IdentityField != null) { commandData = _factory.CreateIdentityCommand(mapping, state); DbCommand command = commandData.CreateCommand(this); QueryCommand queryCommand = new QueryCommand() { Command = command }; return(queryCommand); } else { return(null); } }