/// <summary>Initializes a new instance of the <see cref="T:Korzh.EasyQuery.Entity"/> class.</summary> /// <param name="parent">The parent entity.</param> protected internal MetaEntity(MetaData model) { _model = model; Attributes = new MetaEntityAttrStore(this); SubEntities = new MetaEntityStore(this); }
/// <summary>Initializes a new instance of the <see cref="T:Korzh.EasyQuery.Entity"/> class.</summary> /// <param name="parent">The parent entity.</param> protected internal MetaEntity(MetaEntity parent) { Parent = parent; Attributes = new MetaEntityAttrStore(this); SubEntities = new MetaEntityStore(this); }