/// <summary> /// Deprecated Method for adding a new object to the Generos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGeneros(Genero genero) { base.AddObject("Generos", genero); }
/// <summary> /// Create a new Genero object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static Genero CreateGenero(global::System.Decimal id) { Genero genero = new Genero(); genero.Id = id; return genero; }