Esempio n. 1
0
        internal LogicApp()
        {
            ArmyDBContext db = new ArmyDB();

            // Провайдер базы данных
            var provider = new LogicProviderDB(LogicProviderDB.databases.mssql);


            socialNetworksLogic    = new SocialNetworksLogic(provider);
            userLogic              = new UserLogic(provider);
            CountriesLogic         = new CountriesLogic(provider);
            SoldierUnitLogic       = new SoldierUnitsLogic(provider);
            SocStatusesLogic       = new SocStatusesLogic(provider);
            citiesLogic            = new CitiesLogic(provider);
            CrimesLogic            = new CrimesLogic(provider);
            ForeignFriendsLogic    = new ForeignFriendsLogic(provider);
            ExtremistMaterialLogic = new ExtremistMaterialLogic();
            GroupLogic             = new GroupsLogic(provider);
            AudiosLogic            = new AudiosLogic(provider);
        }
 public CountriesLogic(LogicProviderDB provider)
 {
     this.provider = provider;
 }
Esempio n. 3
0
 public UserLogic(LogicProviderDB provider)
 {
     this.provider = provider;
 }
Esempio n. 4
0
 public CitiesLogic(LogicProviderDB provider)
 {
     this.provider = provider;
 }
Esempio n. 5
0
 public GroupsLogic(LogicProviderDB provider)
 {
     this.provider = provider;
 }
Esempio n. 6
0
 public AudiosLogic(LogicProviderDB provider)
 {
     this.provider = provider;
 }
 public ForeignFriendsLogic(LogicProviderDB provider)
 {
     this.provider = provider;
 }
 public SocialNetworksLogic(LogicProviderDB provider)
 {
     this.provider = provider;
 }
 public SocStatusesLogic(LogicProviderDB provider)
 {
     this.provider = provider;
 }
 public SoldierUnitsLogic(LogicProviderDB provider)
 {
     this.provider = provider;
 }