Esempio n. 1
0
        static void Main(string[] args)
        {
            dbinit.db  = new SqlConnection("Data Source=sqlwindraw.fabrikon.ru;Initial Catalog=ecad_FO;User ID=windraw;Password=Ffff1234");
            dbconn._db = new dbconn();



            SettingCustomtableContainer container = SettingCustomtableContainer.CreateContainer();
            int defaultcolorId = container.GetDefaultColorIdByProfileId(1);

            int[] colorgroupIds = container.GetColorGroupIdsByProfileId(1);
        }
Esempio n. 2
0
        public static int[] GetColorGroupIdsByProfileId(int profileId)
        {
            var container = SettingCustomtableContainer.CreateContainer();

            return(container.GetColorGroupIdsByProfileId(profileId));
        }
Esempio n. 3
0
        public static int GetDefaultColorIdByProfileId(int profileId)
        {
            var container = SettingCustomtableContainer.CreateContainer();

            return(container.GetDefaultColorIdByProfileId(profileId));
        }