Table of Contents

Class SqlView

Namespace
LfrlAnvil.Sql.Objects
Assembly
LfrlAnvil.Sql.Core.dll

Represents an SQL view.

public abstract class SqlView : SqlObject, ISqlView, ISqlObject
Inheritance
SqlView
Implements
Derived
Inherited Members
Extension Methods

Constructors

SqlView(SqlSchema, SqlViewBuilder, SqlViewDataFieldCollection)

Creates a new SqlView instance.

protected SqlView(SqlSchema schema, SqlViewBuilder builder, SqlViewDataFieldCollection dataFields)

Parameters

schema SqlSchema

Schema that this view belongs to.

builder SqlViewBuilder

Source builder.

dataFields SqlViewDataFieldCollection

Collection of data fields that belong to this view.

Properties

DataFields

Collection of data fields that belong to this view.

public SqlViewDataFieldCollection DataFields { get; }

Property Value

SqlViewDataFieldCollection

Info

Represents a full name information of this view.

public SqlRecordSetInfo Info { get; }

Property Value

SqlRecordSetInfo

Node

Underlying SqlViewNode instance that represents this view.

public SqlViewNode Node { get; }

Property Value

SqlViewNode

Schema

Schema that this view belongs to.

public SqlSchema Schema { get; }

Property Value

SqlSchema

Methods

ToString()

Returns a string representation of this SqlView instance.

[Pure]
public override string ToString()

Returns

string

String representation.