/// <summary> /// Create a new ResourcePhoto object. /// </summary> /// <param name="photoID">Initial value of the PhotoID property.</param> /// <param name="resourceID">Initial value of the ResourceID property.</param> public static ResourcePhoto CreateResourcePhoto(global::System.Int32 photoID, global::System.Int32 resourceID) { ResourcePhoto resourcePhoto = new ResourcePhoto(); resourcePhoto.PhotoID = photoID; resourcePhoto.ResourceID = resourceID; return resourcePhoto; }
/// <summary> /// Deprecated Method for adding a new object to the ResourcePhotoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToResourcePhotoes(ResourcePhoto resourcePhoto) { base.AddObject("ResourcePhotoes", resourcePhoto); }