コード例 #1
0
ファイル: T2TDb.Designer.cs プロジェクト: mikestam/t2t
 /// <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;
 }
コード例 #2
0
ファイル: T2TDb.Designer.cs プロジェクト: mikestam/t2t
 /// <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);
 }