示例#1
0
        public IdentityTableInsert CreateInsertStoredProcedure(Record record)
        {
            var sp = new IdentityTableInsert();

            if (record == null)
            {
                return(sp);
            }
            sp.IntColumn      = record.IntColumn;
            sp.NVarCharColumn = record.NVarCharColumn;
            return(sp);
        }
示例#2
0
        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);
        }