C# Class Tortuga.Chain.SqlServer.SqlServerObjectName

Represents an object in SQL Server (e.g. table, view, procedure)
Datei anzeigen Open project: docevaad/Chain Class Usage Examples

Public Properties

Property Type Description
Empty SqlServerObjectName

Public Methods

Method Description
Equals ( SqlServerObjectName other ) : bool

Returns true if the two objects are equal.

This is a case-insensitive comparison.

Equals ( object obj ) : bool

Determines whether the specified object, is equal to this instance.

This is a case-insensitive comparison.

GetHashCode ( ) : int

Returns a hash code for this instance.

This is a case-insensitive comparison.

SqlServerObjectName ( string schemaAndName ) : System

Initializes a new instance of the SqlServerObjectName struct.

SqlServerObjectName ( string schema, string name ) : System

Initializes a new instance of the SqlServerObjectName struct.

SqlServerObjectName ( string database, string schema, string name ) : System

Initializes a new instance of the SqlServerObjectName struct.

ToQuotedString ( ) : string

To the quoted string.

ToString ( ) : string

Returns a string that represents this instance.

operator ( ) : bool

Implements the operator !=.

This is a case-insensitive comparison.

Private Methods

Method Description
Normalize ( string value ) : string

Method Details

Equals() public method

Returns true if the two objects are equal.
This is a case-insensitive comparison.
public Equals ( SqlServerObjectName other ) : bool
other SqlServerObjectName
return bool

Equals() public method

Determines whether the specified object, is equal to this instance.
This is a case-insensitive comparison.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
return bool

GetHashCode() public method

Returns a hash code for this instance.
This is a case-insensitive comparison.
public GetHashCode ( ) : int
return int

SqlServerObjectName() public method

Initializes a new instance of the SqlServerObjectName struct.
public SqlServerObjectName ( string schemaAndName ) : System
schemaAndName string Name of the schema and.
return System

SqlServerObjectName() public method

Initializes a new instance of the SqlServerObjectName struct.
public SqlServerObjectName ( string schema, string name ) : System
schema string The schema.
name string The name.
return System

SqlServerObjectName() public method

Initializes a new instance of the SqlServerObjectName struct.
public SqlServerObjectName ( string database, string schema, string name ) : System
database string The database.
schema string The schema.
name string The name.
return System

ToQuotedString() public method

To the quoted string.
public ToQuotedString ( ) : string
return string

ToString() public method

Returns a string that represents this instance.
public ToString ( ) : string
return string

operator() public static method

Implements the operator !=.
This is a case-insensitive comparison.
public static operator ( ) : bool
return bool

Property Details

Empty public_oe static_oe property

An empty schema/name pair
public static SqlServerObjectName,Tortuga.Chain.SqlServer Empty
return SqlServerObjectName