Table of Contents

Class SqlObject

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

Represents an SQL object.

public abstract class SqlObject : ISqlObject
Inheritance
SqlObject
Implements
Derived
Inherited Members

Constructors

SqlObject(SqlDatabase, SqlObjectBuilder)

Creates a new SqlObject instance.

protected SqlObject(SqlDatabase database, SqlObjectBuilder builder)

Parameters

database SqlDatabase

Database that this object belongs to.

builder SqlObjectBuilder

Source builder.

SqlObject(SqlDatabase, SqlObjectType, string)

Creates a new SqlObject instance.

protected SqlObject(SqlDatabase database, SqlObjectType type, string name)

Parameters

database SqlDatabase

Database that this object belongs to.

type SqlObjectType

Object's type.

name string

Object's name.

Properties

Database

Database that this object belongs to.

public SqlDatabase Database { get; }

Property Value

SqlDatabase

Name

Object's name.

public string Name { get; }

Property Value

string

Type

Object's type.

public SqlObjectType Type { get; }

Property Value

SqlObjectType

Methods

ToString()

Returns a string representation of this SqlObject instance.

[Pure]
public override string ToString()

Returns

string

String representation.