// ************************************************************************* // constants // ************************************************************************* private SupplierAddressManager() : base() { string DbConnectionTypeName = "SqlClient"; string ConnectionString = "server=scazvassqldev01.nycsca.org; user id=aec; password=brApHa7B; database=NYCSCA_VAS;"; // SCAZVASSQLDEV01 SCAVASSQLTEST01 _DataSource = new DataSourceParams("MySupplier", DbConnectionTypeName, ConnectionString); _DaoTypeName = DaoEnum.GetByName(nameof(SupplierAddress)).Description; }
private SupplierLicenseManager() : base() { string DbConnectionTypeName = "SqlClient"; //string ConnectionString = "server=scazvassqldev01.nycsca.org; user id=aec; password=brApHa7B; database=NYCSCA_VAS; MultipleActiveResultSets=True;"; // SCAZVASSQLDEV01 SCAVASSQLTEST01 string ConnectionString = "server=scazvassqldev01.nycsca.org; user id=aec; password=brApHa7B; database=NYCSCA_VAS;"; _DataSource = new DataSourceParams("MySupplier", DbConnectionTypeName, ConnectionString); _DaoTypeName = DaoEnum.GetByName(nameof(SupplierLicense)).Description; /// _DaoTypeName = typeof(SupplierLicenseDao).AssemblyQualifiedName; // FullName only works when the type is found in either mscorlib.dll or the currently executing assembly. //this.base<SupplierLicense>(dataSource); }
/// <summary> /// default constructor /// inits with default /// </summary> public SupplierLicenseDao(DataSourceParams dataSource) : base(dataSource) { }
/// <summary> /// default constructor /// inits with default /// </summary> public SupplierAddressDao(DataSourceParams dataSource) : base(dataSource) { }