Exemplo n.º 1
0
 /// <summary>
 /// Create a new Generic object.
 /// </summary>
 /// <param name="geneId">Initial value of the GeneId property.</param>
 /// <param name="siteId">Initial value of the SiteId property.</param>
 public static Generic CreateGeneric(global::System.Int32 geneId, global::System.Int32 siteId)
 {
     Generic generic = new Generic();
     generic.GeneId = geneId;
     generic.SiteId = siteId;
     return generic;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Generics EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGenerics(Generic generic)
 {
     base.AddObject("Generics", generic);
 }