/// <summary> /// Deprecated Method for adding a new object to the SqlResources EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSqlResources(SqlResource sqlResource) { base.AddObject("SqlResources", sqlResource); }
/// <summary> /// Create a new SqlResource object. /// </summary> /// <param name="sqlResourceId">Initial value of the SqlResourceId property.</param> public static SqlResource CreateSqlResource(global::System.Int32 sqlResourceId) { SqlResource sqlResource = new SqlResource(); sqlResource.SqlResourceId = sqlResourceId; return sqlResource; }