コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Illustrations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIllustrations(Illustration illustration)
 {
     base.AddObject("Illustrations", illustration);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Illustration object.
 /// </summary>
 /// <param name="illustrationID">Initial value of the IllustrationID property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static Illustration CreateIllustration(global::System.Int32 illustrationID, global::System.DateTime modifiedDate)
 {
     Illustration illustration = new Illustration();
     illustration.IllustrationID = illustrationID;
     illustration.ModifiedDate = modifiedDate;
     return illustration;
 }
コード例 #3
0
 public static Illustration Updating(Illustration ill, [Injected] DateTime now) => ill with