Show / Hide Table of Contents

    Model Class Attributes

    .NET Standard 2.x

    The list of attributes that can be applied to the model class.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Classes

    Name Description
    DistinctAttribute Specifies that a model class should remove the duplicate values when loading data.
    FromTableAttribute Specifies the database table that a model class is mapped to. Multiple FromTable attributes can be applied to one model class.
    JoinTableAttribute Specifies the joined table to be used in a model class. Multiple JoinTable attributes can be applied to one model class.
    SqlAndHavingAttribute Sets an additional search condition on top of the existing search condition for a group or an aggregate in the model class. Both conditions must be met.
    SqlAndWhereAttribute Sets an additional search condition on top of the existing search condition in the model class. Both conditions must be met.
    SqlGroupByAttribute Specifies that a model class should divide the query result into groups of rows.
    SqlHavingAttribute Specifies that a model class should use a search condition for a group or an aggregate.
    SqlOrderByAttribute Specifies how a model class sorts the result set when loading data.
    SqlOrHavingAttribute Sets an optional search condition on top of the existing search condition for a group or an aggregate in the model class. Either condition must be met.
    SqlOrWhereAttribute Sets an optional search condition on top of the existing search condition in the model class. Either condition must be met.
    SqlParameterAttribute Defines a parameter with name and type in the model class.
    SqlSelectAttribute Defines a select list in the model class, to decide which columns to be selected from the result set. The select list is a series of expressions separated by commas.
    SqlUnionAttribute Specifies that a model class should combine the results of two or more queries into one single result. One or more SqlUnion attributes can be applied to one model class.
    SqlWhereAttribute Specifies the condition for the result set when a model class loads the data.
    SubQueryAttribute Defines a subquery in the model class.
    TableAttribute (.NET Class) Specifies the database table that a class is mapped to.
    TopAttribute Denotes that a model class should limit the returned rows.
    UpdateWhereStrategyAttribute Specifies the column(s) to be used as search condition when the model class is performing updates to the database.
    Back to top Generated by Appeon