/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Generics EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGenerics(Generic generic) { base.AddObject("Generics", generic); }