예제 #1
0
 private System.Type GetDialectPersistenceUnitManager(Net.Vpc.Upa.Persistence.DatabaseProduct dialect)
 {
     System.Type type = Net.Vpc.Upa.Impl.FwkConvertUtils.GetMapValue <Net.Vpc.Upa.Persistence.DatabaseProduct, System.Type>(puStoresByDialect, dialect);
     if (type == null)
     {
         throw new System.Exception("Dialect " + dialect + " is not supported");
     }
     return(type);
 }
예제 #2
0
 public virtual void SetDatabaseProduct(Net.Vpc.Upa.Persistence.DatabaseProduct databaseProduct)
 {
     this.databaseProduct = databaseProduct;
 }
예제 #3
0
 private void SetDialectPersistenceUnitManager(Net.Vpc.Upa.Persistence.DatabaseProduct databaseProduct, System.Type type)
 {
     puStoresByDialect[databaseProduct] = type;
 }