/// <summary> /// Create a new Media_Type object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="description">Initial value of the Description property.</param> public static Media_Type CreateMedia_Type(global::System.Guid id, global::System.String description) { Media_Type media_Type = new Media_Type(); media_Type.id = id; media_Type.Description = description; return(media_Type); }
/// <summary> /// Deprecated Method for adding a new object to the Media_Type EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMedia_Type(Media_Type media_Type) { base.AddObject("Media_Type", media_Type); }