/// <summary> /// Deprecated Method for adding a new object to the ConnectionStrings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToConnectionStrings(ConnectionString connectionString) { base.AddObject("ConnectionStrings", connectionString); }
/// <summary> /// Create a new ConnectionString object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="data">Initial value of the Data property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param> public static ConnectionString CreateConnectionString(global::System.Int32 id, global::System.String name, global::System.String data, global::System.DateTime lastModified, global::System.String lastModifiedBy) { ConnectionString connectionString = new ConnectionString(); connectionString.Id = id; connectionString.Name = name; connectionString.Data = data; connectionString.LastModified = lastModified; connectionString.LastModifiedBy = lastModifiedBy; return connectionString; }