public Generic2C() { Type t = typeof(Generic <T>); dal = DataAccessGeneric <T> .CreateSession(t.FullName); t = typeof(Generic <TDesc>); dalDesc = DataAccessGeneric <TDesc> .CreateSession(t.FullName); }
public UploadImageBLL() { Type t = typeof(Cb.SQLServerDAL.Generic <PNK_UploadImage>); dal = DataAccessGeneric <PNK_UploadImage> .CreateSession(t.FullName); switch (ConfigurationManager.AppSettings["Database"]) { case "SQLServer": prefixParam = "@"; break; case "MySQL": prefixParam = "v_"; break; } }
public XMLConfigBLL() { Type t = typeof(Cb.SQLServerDAL.Generic <sd_XML>); generic = DataAccessGeneric <sd_XML> .CreateSession(t.FullName); }
public Generic() { Type t = typeof(Cb.SQLServerDAL.Generic <T>); dal = DataAccessGeneric <T> .CreateSession(t.FullName); }