Esempio n. 1
0
        void Settings_SettingsLoaded(object sender, System.Configuration.SettingsLoadedEventArgs e)
        {
            DirectorBase db = new DirectorBase(cte.lib);

            this["jcproshopConnectionString"] = db.GetConnection().ConnectionString;
            this["fvConnectionString"]        = db.GetConnection().ConnectionString;
        }
Esempio n. 2
0
        void Settings_SettingsLoaded(object sender, System.Configuration.SettingsLoadedEventArgs e)
        {
            DirectorBase db = new DirectorBase(cte.lib);

            this["lwconnection"] = db.GetConnection().ConnectionString;
            this["isc_alumniConnectionString"] = db.GetConnection().ConnectionString;
            this["ghConnectionString"]         = db.GetConnection().ConnectionString;
        }
Esempio n. 3
0
        void Settings_SettingsLoaded(object sender, System.Configuration.SettingsLoadedEventArgs e)
        {
            DirectorBase db = new DirectorBase(cte.lib);

            this["GeneralConnectionString"] = db.GetConnection().ConnectionString;
            //SqlConnection connection = (SqlConnection)db.GetConnection();

            //this["GeneralConnectionString"] = connection.ConnectionString;
        }
Esempio n. 4
0
 private void DirectionEventsOnOnInitializeDirection(IAnalyticsTracker analytics, IDirector director)
 {
     this.director = director as DirectorBase;
     if (this.director == null)
     {
         Debug.LogWarning("<color=yellow>[GenericUI] You cannot use this type of IDirector with Generic UI.</color>");
         return;
     }
     this.analytics = analytics;
     OnInitializeUI();
 }
Esempio n. 5
0
        public IEnumerable <DirectorBase> getListOfDirectorBase()
        {
            var directors = dc.Directors.OrderBy(d => d.Name);

            if (directors == null)
            {
                return(null);
            }

            List <DirectorBase> dls = new List <DirectorBase>();

            foreach (var item in directors)
            {
                DirectorBase db = new DirectorBase();
                db.DirectorId = item.Id;
                db.Name       = item.Name;
                dls.Add(db);
            }
            return(dls);
        }