示例#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);
 }
示例#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);
 }