SqlUnionAttribute.SqlUnionAttribute(Type modelType, string selectName) Constructor
.NET Standard 2.x
Initializes a new instance of the SqlUnionAttribute class.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Syntax
public SqlUnionAttribute(Type modelType, string selectName)
Parameters
modelType
System.Type
The type of a model class whose SQL SELECT statement will be combined with the current SQL query.
selectName
System.String
The name of the select list (SqlSelectAttribute.SelectName property) predefined in modelType
.
Applies to
.NET Standard
2.x