Exemplo n.º 1
0
 public EventClass()
 {
     GeneralClass      = new GeneralClass();
     HTMLCriteriaClass = new HTMLCriteriaClass();
     SQLClass          = new SQLClass();
     StartUpDefinitions();
 }
Exemplo n.º 2
0
 void StartUpDefinitions()
 {
     GeneralClass      = new GeneralClass();
     HTMLCriteriaClass = new HTMLCriteriaClass();
     RequiredFolders   = GeneralClass.GetAppConfigStringArray("CustomAppSettingsForRequiredFolders");
     GeneralClass.CreateRequiredFolders(RequiredFolders, AppStartUpPath);
     dbClient         = new MongoClient(connectionString);
     db               = dbClient.GetDatabase("SahibindenMongoDatabase");
     advertCollection = db.GetCollection <BsonDocument>("AdvertCollection");
     searchCollection = db.GetCollection <BsonDocument>("SearchCollection");
 }
Exemplo n.º 3
0
 public GeneralClass()
 {
     SQLClass          = new SQLClass();
     HTMLCriteriaClass = new HTMLCriteriaClass();
 }