/// <summary> /// Deprecated Method for adding a new object to the Resources EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToResources(Resource resource) { base.AddObject("Resources", resource); }
/// <summary> /// Create a new Resource object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static Resource CreateResource(global::System.Int32 id) { Resource resource = new Resource(); resource.ID = id; return resource; }