public override void SetContext(CacheContext context) { base.SetContext(context); this.TreeRelation = context.FindById <SysOneMoreRelation>(this.TreeRelationId); this.OwnerSysView = context.FindById <SysView>(this.ViewId); this.FilterRelation = context.FindById <SysOneMoreRelation>(this.FilterRelationId); }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.OwnerEntity = context.FindById <SysEntity>(this.EntityId); this.ParentEntityJoinRelation = context.FindById <SysEntityJoinRelation>(this.ParentId); this.LeftField = context.FindById <SysField>(this.LeftFieldId); this.RightField = context.FindById <SysField>(this.RightFieldId); }
public override void SetContext(CacheContext context) { base.SetContext(context); this.BatchRelation = context.FindById <SysOneMoreRelation>(this.RelationId); this.RedirectEntity = context.FindById <SysEntity>(this.RedirectEntityId); this.RedirectPage = context.FindById <SysPage>(this.RedirectPageId); this.BeforeLogicOperation = context.FindById <SysBusinessLogicOperation>(this.BeforeLogicOperationId); this.AfterLogicOperation = context.FindById <SysBusinessLogicOperation>(this.AfterLogicOperationId); }
public override void SetContext(CacheContext context) { base.SetContext(context); this.OwnerMoreMoreRelation = context.FindById <SysMoreMoreRelation>(this.MoreRelationId); this.OwnerOneMoreRelation = context.FindById <SysOneMoreRelation>(this.RelationId); this.OwnerSysView = context.FindById <SysView>(this.ViewId); this.MultiRefField = context.FindById <SysField>(this.MultiRefFieldId); this.MultiRefEntity = context.FindById <SysEntity>(this.MultiRefEntityId); }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.OwnerField = context.FindById <SysField>(this.FieldId); this.RefEntity = context.FindById <SysEntity>(this.EntityId); if (this.OwnerField != null) { this.OwnerField.MultiRefs.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.ViewField = context.FindById <SysViewField>(this.FieldId); this.OwnerSysViewControl = context.FindById <SysViewControl>(this.ViewControlId); if (this.OwnerSysViewControl != null) { this.OwnerSysViewControl.ViewSumFields.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.SysField = context.FindById <King.Framework.EntityLibrary.SysField>(new long?(this.FieldId)); this.OwnerUniqueKey = context.FindById <SysUniqueKey>(new long?(this.UniqueKeyId)); if (this.OwnerUniqueKey != null) { this.OwnerUniqueKey.UniqueKeyFields.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.Field = context.FindById <SysField>(this.FieldId); this.OwnerQueryCondition = context.FindById <SysQueryCondition>(this.ConditionId); if (this.OwnerQueryCondition != null) { this.OwnerQueryCondition.RelatedFields.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.Entity = context.FindById <SysEntity>(this.EntityId); this.SubSystem = context.FindById <SysSubSystem>(this.SubSystemId); if ((this.Entity != null) && (this.SubSystem != null)) { this.Entity.SubSystems.Add(this.SubSystem); this.SubSystem.Entitys.Add(this.Entity); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.ParentField = context.FindById <SysField>(this.ParentFieldId); this.ChildField = context.FindById <SysField>(this.ChildFieldId); this.OwnRelation = context.FindById <SysOneMoreRelation>(this.RelationId); if (this.OwnRelation != null) { this.OwnRelation.PatchMatchFields.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.Page = context.FindById <SysPage>(this.PageId); this.SubSystem = context.FindById <SysSubSystem>(this.SubSystemId); if ((this.Page != null) && (this.SubSystem != null)) { this.Page.SubSystems.Add(this.SubSystem); this.SubSystem.Pages.Add(this.Page); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.Field = context.FindById <SysField>(this.FieldId); this.RefRelation = context.FindById <SysOneMoreRelation>(this.RelationId); this.OwnerView = context.FindById <SysView>(this.ViewId); this.OwnerEntityJoinRelation = context.FindById <SysEntityJoinRelation>(this.EntityRelationId); if (this.OwnerView != null) { this.OwnerView.ViewOrderFields.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.OwnerEntity = context.FindById <SysEntity>(this.EntityId); this.RefEntity = context.FindById <SysEntity>(this.RefEntityId); this.RefEnum = context.FindById <SysEnum>(this.EnumId); this.RefRelation = context.FindById <SysOneMoreRelation>(this.RefRelationId); if (this.OwnerEntity != null) { this.OwnerEntity.Fields.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.OwnerCondition = context.FindById <SysCondition>(this.ConditionId); this.RedirectEntity = context.FindById <SysEntity>(this.RedirectEntityId); SysRowOperation operation = context.FindById <SysRowOperation>(this.ControlId); if (operation != null) { operation.OperationConditionRedirects.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.ChildEntity = context.FindById <SysEntity>(this.ChildEntityId); this.ParentEntity = context.FindById <SysEntity>(this.ParentEntityId); if (this.ChildEntity != null) { this.ChildEntity.ChildMoreMoreRelations.Add(this); } if (this.ParentEntity != null) { this.ParentEntity.ParentMoreMoreRelations.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.Field = context.FindById <SysField>(this.FieldId); this.RefRelation = context.FindById <SysOneMoreRelation>(this.RelationId); this.ParentCondition = context.FindById <SysCondition>(this.ParentId); this.OwnerEntity = context.FindById <SysEntity>(this.EntityId); if (this.OwnerEntity != null) { this.OwnerEntity.Conditions.Add(this); } if (this.ParentCondition != null) { this.ParentCondition.ChildConditions.Add(this); } }
public override void SetContext(CacheContext context) { base.SetContext(context); this.Field = context.FindById <SysField>(this.FieldId); this.RefRelation = context.FindById <SysOneMoreRelation>(this.RelationId); this.PopPage = context.FindById <SysPage>(this.PopPageId); this.RelationPageField = context.FindById <SysPageField>(this.RelationPageFieldID); this.FilterRelation = context.FindById <SysOneMoreRelation>(this.FilterRelationId); this.ConditionView = context.FindById <SysView>(this.ConditionViewId); this.MultiRefEntity = context.FindById <SysEntity>(this.MultiRefEntityId); this.OwnerEntityJoinRelation = context.FindById <SysEntityJoinRelation>(this.EntityRelationId); this.ItemForAddPage = context.FindById <SysPage>(this.ItemForAddPageId); }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.Field = context.FindById <SysField>(this.FieldId); SysPageField field = context.FindById <SysPageField>(this.PageFieldId); if (field != null) { field.RelatedFields.Add(this); } SysQueryCondition condition = context.FindById <SysQueryCondition>(this.PageFieldId); if (condition != null) { condition.RefRelatedFields.Add(this); } }
public virtual void SetContext(CacheContext context) { this._metaCache = context; this.OwnerEntity = context.FindById <SysEntity>(this.EntityId); this.Parent = context.FindById <SysPageControl>(this.ParentId); this.VisibleCondition = context.FindById <SysCondition>(this.VisibleConditionId); this.EnableCondition = context.FindById <SysCondition>(this.EnableConditionId); if (this.Parent != null) { this.Parent.Children.Add(this); } if (this.OwnerEntity != null) { this.OwnerEntity.PageControls.Add(this); } this.Page = context.FindById <SysPage>(this.PageId); }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.OwnerEnum = context.FindById <SysEnum>(this.EnumId); if (this.OwnerEnum != null) { this.OwnerEnum.EnumItems.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.OwnerPage = context.FindById <SysPage>(this.PageId); if (this.OwnerPage != null) { this.OwnerPage.PageParameters.Add(this); } }
public override void SetContext(CacheContext context) { base.SetContext(context); this.OwnerViewControl = context.FindById <SysViewControl>(this.ViewControlId); if (this.OwnerViewControl != null) { this.OwnerViewControl.ViewListItems.Add(this); } }
public override void SetContext(CacheContext context) { base.SetContext(context); if (this.OwnerEntity != null) { this.OwnerEntity.Pages.Add(this); } this.OwnerModule = context.FindById <SysModule>(this.ModuleId); }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.EntityCategory = context.FindById <SysEntityCategory>(this.CategoryId); if (this.EntityCategory != null) { this.EntityCategory.Modules.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.OwnerOperationConditionRedirect = context.FindById <SysOperationConditionRedirect>(this.RedirectId); if (this.OwnerOperationConditionRedirect != null) { this.OwnerOperationConditionRedirect.RedirectPageParaMeterSets.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.OwnerEntity = context.FindById <SysEntity>(this.EntityId); if (this.OwnerEntity != null) { this.OwnerEntity.BusinessLogicOperations.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.OwnerEntity = context.FindById <SysEntity>(this.EntityId); if (this.OwnerEntity != null) { this.OwnerEntity.Views.Add(this); } }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.EntityCategory = context.FindById <SysEntityCategory>(this.EntityCategoryId); this.OwnerModule = context.FindById <SysModule>(this.ModuleId); this.EntitySchema = context.FindById <SysEntitySchema>(this.EntitySchemaId); if (this.EntityCategory != null) { this.EntityCategory.Entities.Add(this); } if (this.OwnerModule != null) { this.OwnerModule.Entities.Add(this); } if (this.EntitySchema != null) { this.EntitySchema.EntityList.Add(this); } }
public override void SetContext(CacheContext context) { base.SetContext(context); this.RedirectEntity = context.FindById <SysEntity>(this.RedirectEntityId); }
void ICachedEntity.SetContext(CacheContext context) { this._metaCache = context; this.ProcessEntity = context.FindById <SysEntity>(this.ProcessEntityId); this.ActivityEntity = context.FindById <SysEntity>(this.ActivityEntityId); }