示例#1
0
 /// <summary>
 /// Create a new Template object.
 /// </summary>
 /// <param name="tempId">Initial value of the TempId property.</param>
 public static Template CreateTemplate(global::System.Int32 tempId)
 {
     Template template = new Template();
     template.TempId = tempId;
     return template;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Templates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTemplates(Template template)
 {
     base.AddObject("Templates", template);
 }