コード例 #1
0
 protected GeometryCommand(ElectronSymbol entity, SimpleMapping mapping, RDBManagerBase dbManager, DbConnection conn)
 {
     Entity     = entity;
     DbManager  = dbManager;
     Mapping    = mapping;
     Connection = conn;
 }
コード例 #2
0
 public GeometryCommand GetUpdateCommand(ElectronSymbol entity, SimpleMapping mapping, RDBManagerBase dbManager, bool byView, DbConnection conn)
 {
     return(_factory.GetUpdateCommand(entity, mapping, dbManager, byView, conn));
 }
コード例 #3
0
 public GeometryInsertTableCommand(ElectronSymbol entity, SimpleMapping mapping, RDBManagerBase dbManager, DbConnection conn)
     : base(entity, mapping, dbManager, conn)
 {
 }
コード例 #4
0
 public GeometryCommand GetUpdateCommand(ElectronSymbol entity, SimpleMapping mapping, RDBManagerBase dbManager, bool byView, DbConnection conn)
 {
     if (byView)
     {
         return(new GeometryUpdateViewCommand(entity, mapping, dbManager, conn));
     }
     else
     {
         return(new GeometryUpdateTableCommand(entity, mapping, dbManager, conn));
     }
 }