public IdentityTableInsert CreateInsertStoredProcedure(Record record) { var sp = new IdentityTableInsert(); if (record == null) { return(sp); } sp.IntColumn = record.IntColumn; sp.NVarCharColumn = record.NVarCharColumn; return(sp); }
public IdentityTableInsert CreateInsertStoredProcedure(Record record) { var sp = new IdentityTableInsert(); ((IDatabaseContext)sp).TransactionKey = this.TransactionKey; if (record == null) { return(sp); } sp.IntColumn = record.IntColumn; sp.NVarCharColumn = record.NVarCharColumn; return(sp); }