Example #1
0
 /// <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);
 }
Example #2
0
 /// <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);
 }