C# 클래스 ZocBuild.Database.Util.DatabaseObjectExtensions

파일 보기 프로젝트 열기: Zocdoc/ZocBuild.Database

공개 메소드들

메소드 설명
SetDatabaseIfNotSpecified ( this dbObject, string serverName, string databaseName ) : DatabaseObject

Creates a new database object that corresponds to the given one, but with the specified server name and database name if they aren't already provided.

메소드 상세

SetDatabaseIfNotSpecified() 공개 정적인 메소드

Creates a new database object that corresponds to the given one, but with the specified server name and database name if they aren't already provided.
public static SetDatabaseIfNotSpecified ( this dbObject, string serverName, string databaseName ) : DatabaseObject
dbObject this The database object to clone.
serverName string The default server name to use.
databaseName string The default database name to use.
리턴 DatabaseObject