C# Class ZocBuild.Database.Util.DatabaseIdentifierUtility

Show file Open project: Zocdoc/ZocBuild.Database

Public Methods

Method Description
GetObjectTypeFromString ( string type ) : DatabaseObjectType

Converts a string identifier from sys.sysobjects([type]) to a DatabaseObjectType enumeration value.

This method will throw an ArgumentException if the string is something unexpected.

Method Details

GetObjectTypeFromString() public static method

Converts a string identifier from sys.sysobjects([type]) to a DatabaseObjectType enumeration value.
This method will throw an ArgumentException if the string is something unexpected.
public static GetObjectTypeFromString ( string type ) : DatabaseObjectType
type string The SQL Server type string.
return DatabaseObjectType