IDataIncludeSetter<TModel> Interface
.NET Standard 2.x
Provides methods to add data of embedded properties of TModel
object to the IDataPacker object when using the IDataPacker.AddModel method or IDataPacker.AddModels method.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Syntax
public interface IDataIncludeSetter<TModel>
Method
Name | Return Type | Description |
---|---|---|
Include(string name, Expression<Func<TModel, TKey>> property) | IDataIncludeSetter<TModel> | Adds the data of an embedded property of TModel object to the IDataPacker object, and specifies a name for the data. |
IncludeAll() | void | Adds the data of all embedded properties of TModel object to the IDataPacker object. |