/// <summary> /// Deprecated Method for adding a new object to the DataStorages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDataStorages(DataStorage dataStorage) { base.AddObject("DataStorages", dataStorage); }
/// <summary> /// Create a new DataStorage object. /// </summary> /// <param name="productId">Initial value of the ProductId property.</param> /// <param name="serverName">Initial value of the ServerName property.</param> /// <param name="databaseName">Initial value of the DatabaseName property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="logDate">Initial value of the LogDate property.</param> public static DataStorage CreateDataStorage(global::System.String productId, global::System.String serverName, global::System.String databaseName, global::System.String userId, global::System.DateTime logDate) { DataStorage dataStorage = new DataStorage(); dataStorage.ProductId = productId; dataStorage.ServerName = serverName; dataStorage.DatabaseName = databaseName; dataStorage.UserId = userId; dataStorage.LogDate = logDate; return dataStorage; }