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); }
public virtual void SetDatabaseProduct(Net.Vpc.Upa.Persistence.DatabaseProduct databaseProduct) { this.databaseProduct = databaseProduct; }
private void SetDialectPersistenceUnitManager(Net.Vpc.Upa.Persistence.DatabaseProduct databaseProduct, System.Type type) { puStoresByDialect[databaseProduct] = type; }