/// <summary> /// Creates an instance of <see cref="AomDataTableRowEntity" /> /// </summary> /// <param name="id"> /// An instance of <see cref="Guid" /> that represents the unique identifier of current data table row /// </param> /// <param name="type"> /// An instance of <see cref="AomEntityType" /> that represents current type /// </param> public AomDataTableRowEntity(Guid id, AomEntityType type) : base(type) { var propertyType = new AomPropertyType("Id", typeof(string)); if (!type.Properties.ContainsKey("Id")) { type.Properties.Add("Id", propertyType); this.Properties.Add("Id", new AomProperty(propertyType)); } this.Properties["Id"].Value = id.ToString(); this._id = id; }
/// <summary> /// Creates an instance of <see cref="DriverDataTable" /> /// </summary> /// <param name="dataTableRowType"> /// An instance of <see cref="AomEntityType" /> that represents the template for data table row /// </param> public DriverDataTable(AomEntityType dataTableRowType) { this._dataTableRowType = dataTableRowType; }