コード例 #1
0
 /// <summary>
 /// Create a new Catalogue object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="yearStart">Initial value of the YearStart property.</param>
 /// <param name="yearEnd">Initial value of the YearEnd property.</param>
 public static Catalogue CreateCatalogue(global::System.Int32 id, global::System.DateTime yearStart, global::System.DateTime yearEnd)
 {
     Catalogue catalogue = new Catalogue();
     catalogue.Id = id;
     catalogue.YearStart = yearStart;
     catalogue.YearEnd = yearEnd;
     return catalogue;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Catalogues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCatalogues(Catalogue catalogue)
 {
     base.AddObject("Catalogues", catalogue);
 }