Пример #1
0
        public static DataAccessBase GetCpsDataAccess(IDatabaseInfoProvider dbInfo = null)
        {
            if (dbInfo != null)
            {
                databaseInfoProvider = (CpsDatabaseInfo)dbInfo;
            }
            else
            {
                databaseInfoProvider = new CpsDatabaseInfo();
            }

            CpsDataAccess cspDataAccess = new CpsDataAccess();

            return(cspDataAccess);
        }
Пример #2
0
 public UserModel(IDatabaseInfoProvider dbInfo = null)
     : base(dbInfo)
 {
 }