コード例 #1
0
        public static Метаданные Новый()
        {
            NsgBaseObject obj = CreateByGuid(NsgService.StringToGuid("f879e99d-a1e9-47bd-9629-be165cfdece1"));

            if (obj == null)
            {
                obj = new Метаданные();
            }
            return(obj as Метаданные);
        }
コード例 #2
0
        /// <summary>
        /// Инициализация
        /// </summary>
        private void InitializeComponent()
        {
            NsgSoft.DataObjects.NsgSettings.Regime = NsgSoft.Common.NsgViewTypes.Load;
            NsgService.AllowAccuracyChecks         = false;
            ClearAllList();
            //NsgConfiguration
            //NsgConfiguration
            IsLoadedFromDll      = true;
            Prefics              = "Ав";
            Type                 = NsgSoft.DataObjects.NsgConfigurationTypes.Base;
            Guid                 = NsgService.StringToGuid("6e409654-01d6-4bf1-9535-5cd20e30f61a");
            DatabaseManagerNames = "";
            Name                 = "Авто";
            Description          = "New Configuration";
            Copyright            = "Unknown Developer ©  2011";
            Version              = "2021.5.12.8";
            MetaDataList         = new NsgSoft.DataObjects.NsgMetaData[] {};



            __Метаданные = Авто.Метаданные.Метаданные.Новый();
            AddMetaData(__Метаданные);
            NsgSoft.DataObjects.NsgSettings.Regime = NsgSoft.Common.NsgViewTypes.RunTime;
        }