public static Метаданные Новый() { NsgBaseObject obj = CreateByGuid(NsgService.StringToGuid("6f3011fc-dbef-40d2-891c-de30121bd6db")); if (obj == null) { obj = new Метаданные(); } return(obj as Метаданные); }
/// <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("1b263e68-ff7d-4c6c-849e-1bb077f43b48"); DatabaseManagerNames = ""; Name = "ОбменникВалют"; Description = "New Configuration"; Copyright = "Unknown Developer © 2011"; Version = "2021.4.29.3"; MetaDataList = new NsgSoft.DataObjects.NsgMetaData[] {}; __Метаданные = ОбменникВалют.Метаданные.Метаданные.Новый(); AddMetaData(__Метаданные); NsgSoft.DataObjects.NsgSettings.Regime = NsgSoft.Common.NsgViewTypes.RunTime; }