Show / Hide Table of Contents

    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 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.

    See Also

    IDataPacker.AddModel

    IDataPacker.AddModels

    Back to top Generated by Appeon