예제 #1
0
파일: DbDALC.cs 프로젝트: ruo2012/nicnet
 /// <see cref="NI.Data.IDalc.Insert(System.String,System.Collections.Generic.IDictionary<System.String,NI.Data.IQueryValue>)"/>
 public virtual void Insert(string tableName, IDictionary <string, IQueryValue> data)
 {
     using (var cmd = CommandGenerator.ComposeInsert(tableName, data)) {
         cmd.Connection = Connection;
         ExecuteInternal(cmd, tableName, StatementType.Insert);
     }
 }