Interface ISqlViewBuilder
Represents an SQL view builder.
public interface ISqlViewBuilder : ISqlObjectBuilder
- Inherited Members
- Extension Methods
Properties
Info
Represents a full name information of this view.
SqlRecordSetInfo Info { get; }
Property Value
Node
Underlying SqlViewBuilderNode instance that represents this view.
SqlViewBuilderNode Node { get; }
Property Value
ReferencedObjects
Collection of objects (tables, views and columns) referenced by this view's Source.
IReadOnlyCollection<ISqlObjectBuilder> ReferencedObjects { get; }
Property Value
Schema
Schema that this view belongs to.
ISqlSchemaBuilder Schema { get; }
Property Value
Source
Underlying source query expression that defines this view.
SqlQueryExpressionNode Source { get; }
Property Value
Methods
SetName(string)
Changes the name of this object.
ISqlViewBuilder SetName(string name)
Parameters
name
stringName to set.
Returns
- ISqlViewBuilder
this.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.