public static DataLoadOptions GetDataLoadOptns(EnmCtxtMode mode) { if (mode != EnmCtxtMode.Test000) { if (mode != EnmCtxtMode.Test001) { throw new Exception(); } } else { return(GetDataLoadOptns(EnmDataLoadOptns.Test000)); } return(GetDataLoadOptns(EnmDataLoadOptns.Test001)); }
public static string GetConStrng(EnmCtxtMode mode) { if (mode != EnmCtxtMode.Test000) { if (mode != EnmCtxtMode.Test001) { throw new Exception(); } } else { return(@"Data Source=XPS8300\SQL2K12;Initial Catalog=DbRootsV0IV;Integrated Security=True"); } return(@"Data Source=XPS8300\SQL2K12;Initial Catalog=DbRootsV0IV;Integrated Security=True"); }