Beispiel #1
0
        public DbState GetDbState(SqlDbStateReference sqlDbStateReference)
        {
            var dbView         = sqlDbStateReference.DbView;
            var dbEntries      = sqlDbStateReference.GetDbEntries();
            var stateReference = new DbState(dbView, dbEntries);

            return(stateReference);
        }
Beispiel #2
0
        public SqlDbStateReference GetSqlDbStateReference(string connectionString, DbView dbView)
        {
            var stateReference = new SqlDbStateReference(new SqlService(), connectionString, dbView);

            return(stateReference);
        }