Beispiel #1
0
 /// <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;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ResourcePhotoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToResourcePhotoes(ResourcePhoto resourcePhoto)
 {
     base.AddObject("ResourcePhotoes", resourcePhoto);
 }