static BudgetPeriodEntity() { object[] attributes = new object[1]; SimplePropertyAttribute attribute = new SimplePropertyAttribute { Alias = "FPERIOD" }; attributes[0] = attribute; PeriodProperty = BudgetCalendar.BudgetPeriodEntityType.RegisterSimpleProperty("Period", typeof(long), null, false, attributes); object[] objArray2 = new object[1]; SimplePropertyAttribute attribute2 = new SimplePropertyAttribute { Alias = "FPERIODENDDATE" }; objArray2[0] = attribute2; PeriodEndDateProperty = BudgetCalendar.BudgetPeriodEntityType.RegisterSimpleProperty("PeriodEndDate", typeof(DateTime?), null, false, objArray2); object[] objArray3 = new object[2]; SimplePropertyAttribute attribute3 = new SimplePropertyAttribute { Alias = "FPERIODNAME" }; objArray3[0] = attribute3; objArray3[1] = new DbIgnoreAttribute(); PeriodNameProperty = BudgetCalendar.BudgetPeriodEntityType.RegisterSimpleProperty("PeriodName", typeof(LocaleValue), null, false, objArray3); object[] objArray4 = new object[1]; SimplePropertyAttribute attribute4 = new SimplePropertyAttribute { Alias = "FPERIODNUMBER" }; objArray4[0] = attribute4; PeriodNumberProperty = BudgetCalendar.BudgetPeriodEntityType.RegisterSimpleProperty("PeriodNumber", typeof(string), null, false, objArray4); object[] objArray5 = new object[1]; SimplePropertyAttribute attribute5 = new SimplePropertyAttribute { Alias = "FPERIODSTARTDATE" }; objArray5[0] = attribute5; PeriodStartDateProperty = BudgetCalendar.BudgetPeriodEntityType.RegisterSimpleProperty("PeriodStartDate", typeof(DateTime?), null, false, objArray5); object[] objArray6 = new object[1]; SimplePropertyAttribute attribute6 = new SimplePropertyAttribute { Alias = "FPERIODTYPE" }; objArray6[0] = attribute6; PeriodTypeProperty = BudgetCalendar.BudgetPeriodEntityType.RegisterSimpleProperty("PeriodType", typeof(string), null, false, objArray6); object[] objArray7 = new object[1]; SimplePropertyAttribute attribute7 = new SimplePropertyAttribute { Alias = "FPERIODYEAR" }; objArray7[0] = attribute7; PeriodYearProperty = BudgetCalendar.BudgetPeriodEntityType.RegisterSimpleProperty("PeriodYear", typeof(long), null, false, objArray7); object[] objArray8 = new object[1]; SimplePropertyAttribute attribute8 = new SimplePropertyAttribute { Alias = "FROWID" }; objArray8[0] = attribute8; RowIDProperty = BudgetCalendar.BudgetPeriodEntityType.RegisterSimpleProperty("RowID", typeof(string), null, false, objArray8); object[] objArray9 = new object[1]; SimplePropertyAttribute attribute9 = new SimplePropertyAttribute { Alias = "FROWPARENTID" }; objArray9[0] = attribute9; RowParentIdProperty = BudgetCalendar.BudgetPeriodEntityType.RegisterSimpleProperty("RowParentId", typeof(string), null, false, objArray9); object[] objArray10 = new object[1]; SimplePropertyAttribute attribute10 = new SimplePropertyAttribute { Alias = "FROWTYPE" }; objArray10[0] = attribute10; RowTypeProperty = BudgetCalendar.BudgetPeriodEntityType.RegisterSimpleProperty("RowType", typeof(string), null, false, objArray10); }
static BudgetCalendar() { object[] attributes = new object[1]; DataEntityTypeAttribute attribute = new DataEntityTypeAttribute { Alias = "T_BM_BUDGETCALENDAR" }; attributes[0] = attribute; BM_BUDGETCALENDARType = new DynamicObjectType("BM_BUDGETCALENDAR", NameNumberView.NameNumberViewType, null, DataEntityTypeFlag.Class, attributes); object[] objArray2 = new object[1]; DataEntityTypeAttribute attribute2 = new DataEntityTypeAttribute { Alias = "T_BD_ACCOUNTPERIOD" }; objArray2[0] = attribute2; BD_ACCOUNTPERIODType = new DynamicObjectType("BD_ACCOUNTPERIOD", IdView.IdViewType, null, DataEntityTypeFlag.Class, objArray2); object[] objArray3 = new object[1]; DataEntityTypeAttribute attribute3 = new DataEntityTypeAttribute { Alias = "T_BM_BUDGETPERIOD" }; objArray3[0] = attribute3; BudgetPeriodEntityType = new DynamicObjectType("BudgetPeriodEntity", IdView.IdViewType, null, DataEntityTypeFlag.Class, objArray3); object[] objArray4 = new object[1]; DataEntityTypeAttribute attribute4 = new DataEntityTypeAttribute { Alias = "T_BD_ACCOUNTCALENDAR" }; objArray4[0] = attribute4; ORMBD_ACCOUNType = new DynamicObjectType("ORMBD_ACCOUN", NameNumberMasterIdView.NameNumberMasterIdViewType, null, DataEntityTypeFlag.Class, objArray4); object[] objArray5 = new object[1]; DataEntityTypeAttribute attribute5 = new DataEntityTypeAttribute { Alias = "T_SEC_user" }; objArray5[0] = attribute5; UserType = new DynamicObjectType("User", IdView.IdViewType, null, DataEntityTypeFlag.Class, objArray5); ACIdProperty = BM_BUDGETCALENDARType.RegisterComplexProperty("ACId", ORMBD_ACCOUNType, false, new object[] { new DbIgnoreAttribute() }); object[] objArray7 = new object[1]; SimplePropertyAttribute attribute6 = new SimplePropertyAttribute { Alias = "FACID" }; objArray7[0] = attribute6; ACId_IdProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("ACId_Id", typeof(long), null, false, objArray7); AouditorIdProperty = BM_BUDGETCALENDARType.RegisterComplexProperty("AouditorId", UserType, false, new object[] { new DbIgnoreAttribute() }); object[] objArray9 = new object[1]; SimplePropertyAttribute attribute7 = new SimplePropertyAttribute { Alias = "FAUDITORID" }; objArray9[0] = attribute7; AouditorId_IdProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("AouditorId_Id", typeof(long), null, false, objArray9); object[] objArray10 = new object[1]; SimplePropertyAttribute attribute8 = new SimplePropertyAttribute { Alias = "FAUDITDATE" }; objArray10[0] = attribute8; AuditDateProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("AuditDate", typeof(DateTime?), null, false, objArray10); object[] objArray11 = new object[1]; SimplePropertyAttribute attribute9 = new SimplePropertyAttribute { Alias = "FBUDGETCALENDARTYPE" }; objArray11[0] = attribute9; BudgetCalendarTypeProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("BudgetCalendarType", typeof(string), null, false, objArray11); BudgetPeriodEntityListProperty = BM_BUDGETCALENDARType.RegisterCollectionProperty("BudgetPeriodEntity", BudgetPeriodEntityType, null, new object[0]); object[] objArray12 = new object[1]; SimplePropertyAttribute attribute10 = new SimplePropertyAttribute { Alias = "FCREATEDATE" }; objArray12[0] = attribute10; CreateDateProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("CreateDate", typeof(DateTime?), null, false, objArray12); CreatorIdProperty = BM_BUDGETCALENDARType.RegisterComplexProperty("CreatorId", UserType, false, new object[] { new DbIgnoreAttribute() }); object[] objArray14 = new object[1]; SimplePropertyAttribute attribute11 = new SimplePropertyAttribute { Alias = "FCREATORID" }; objArray14[0] = attribute11; CreatorId_IdProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("CreatorId_Id", typeof(long), null, false, objArray14); object[] objArray15 = new object[1]; SimplePropertyAttribute attribute12 = new SimplePropertyAttribute { Alias = "FCYCLESELECTTYPE" }; objArray15[0] = attribute12; CycleSelectTypeProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("CycleSelectType", typeof(string), null, false, objArray15); object[] objArray16 = new object[1]; SimplePropertyAttribute attribute13 = new SimplePropertyAttribute { Alias = "FDAYS", DbType = DbType.StringFixedLength }; objArray16[0] = attribute13; DAYSProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("DAYS", typeof(bool), null, false, objArray16); object[] objArray17 = new object[2]; SimplePropertyAttribute attribute14 = new SimplePropertyAttribute { Alias = "FDESCRIPTION" }; objArray17[0] = attribute14; objArray17[1] = new DbIgnoreAttribute(); DescriptionProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("Description", typeof(LocaleValue), null, false, objArray17); object[] objArray18 = new object[1]; SimplePropertyAttribute attribute15 = new SimplePropertyAttribute { Alias = "FDOCUMENTSTATUS" }; objArray18[0] = attribute15; DocumentStatusProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("DocumentStatus", typeof(string), null, false, objArray18); object[] objArray19 = new object[1]; SimplePropertyAttribute attribute16 = new SimplePropertyAttribute { Alias = "FENDDATE" }; objArray19[0] = attribute16; EndDateProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("EndDate", typeof(DateTime?), null, false, objArray19); object[] objArray20 = new object[1]; SimplePropertyAttribute attribute17 = new SimplePropertyAttribute { Alias = "FMODIFYDATE" }; objArray20[0] = attribute17; FModifyDateProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("FModifyDate", typeof(DateTime?), null, false, objArray20); object[] objArray21 = new object[1]; SimplePropertyAttribute attribute18 = new SimplePropertyAttribute { Alias = "FFORBIDDATE" }; objArray21[0] = attribute18; ForbidDateProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("ForbidDate", typeof(DateTime?), null, false, objArray21); ForbidderIdProperty = BM_BUDGETCALENDARType.RegisterComplexProperty("ForbidderId", UserType, false, new object[] { new DbIgnoreAttribute() }); object[] objArray23 = new object[1]; SimplePropertyAttribute attribute19 = new SimplePropertyAttribute { Alias = "FFORBIDDERID" }; objArray23[0] = attribute19; ForbidderId_IdProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("ForbidderId_Id", typeof(long), null, false, objArray23); object[] objArray24 = new object[1]; SimplePropertyAttribute attribute20 = new SimplePropertyAttribute { Alias = "FFORBIDSTATUS" }; objArray24[0] = attribute20; ForbidStatusProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("ForbidStatus", typeof(string), null, false, objArray24); object[] objArray25 = new object[1]; SimplePropertyAttribute attribute21 = new SimplePropertyAttribute { Alias = "FHALFOFYEAR", DbType = DbType.StringFixedLength }; objArray25[0] = attribute21; HALFOFYEARProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("HALFOFYEAR", typeof(bool), null, false, objArray25); object[] objArray26 = new object[1]; SimplePropertyAttribute attribute22 = new SimplePropertyAttribute(true) { Alias = "FID" }; objArray26[0] = attribute22; IdProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("Id", typeof(long), null, false, objArray26); ModifierIdProperty = BM_BUDGETCALENDARType.RegisterComplexProperty("ModifierId", UserType, false, new object[] { new DbIgnoreAttribute() }); object[] objArray28 = new object[1]; SimplePropertyAttribute attribute23 = new SimplePropertyAttribute { Alias = "FMODIFIERID" }; objArray28[0] = attribute23; ModifierId_IdProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("ModifierId_Id", typeof(long), null, false, objArray28); object[] objArray29 = new object[1]; SimplePropertyAttribute attribute24 = new SimplePropertyAttribute { Alias = "FMONTH", DbType = DbType.StringFixedLength }; objArray29[0] = attribute24; MONTHProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("MONTH", typeof(bool), null, false, objArray29); object[] objArray30 = new object[1]; SimplePropertyAttribute attribute25 = new SimplePropertyAttribute { Alias = "FSEASON", DbType = DbType.StringFixedLength }; objArray30[0] = attribute25; SEASONProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("SEASON", typeof(bool), null, false, objArray30); object[] objArray31 = new object[1]; SimplePropertyAttribute attribute26 = new SimplePropertyAttribute { Alias = "FSTARTDATE" }; objArray31[0] = attribute26; StartDateProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("StartDate", typeof(DateTime?), null, false, objArray31); object[] objArray32 = new object[1]; SimplePropertyAttribute attribute27 = new SimplePropertyAttribute { Alias = "FTENDAYS", DbType = DbType.StringFixedLength }; objArray32[0] = attribute27; TENDAYSProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("TENDAYS", typeof(bool), null, false, objArray32); attributes = new object[1]; SimplePropertyAttribute attribute28 = new SimplePropertyAttribute { Alias = "FWEEKS", DbType = DbType.StringFixedLength }; attributes[0] = attribute28; WEEKSProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("WEEKS", typeof(bool), null, false, attributes); attributes = new object[1]; SimplePropertyAttribute attribute29 = new SimplePropertyAttribute { Alias = "FYEAR", DbType = DbType.StringFixedLength }; attributes[0] = attribute29; YearProperty = BM_BUDGETCALENDARType.RegisterSimpleProperty("Year", typeof(bool), null, false, attributes); }