コード例 #1
0
    public static string Build(string serverName, string databaseName, string userName, string password, string metaData)
    {
        // Specify the provider name, server and database.
        string providerName = "System.Data.SqlClient";

        return(EntityConnectionStringHelper.Build(providerName, serverName, databaseName, userName, password, metaData));
    }
コード例 #2
0
    public static string Build()
    {
        string serverName   = "******";
        string databaseName = "****";
        string password     = "******";
        string userid       = "*****";
        string meta         = "********";

        return(EntityConnectionStringHelper.Build(serverName, databaseName, userid, password, meta));
    }