/// <summary> /// Create a new Caption object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="text">Initial value of the Text property.</param> public static Caption CreateCaption(global::System.Int32 id, global::System.String name, global::System.String text) { Caption caption = new Caption(); caption.Id = id; caption.Name = name; caption.Text = text; return caption; }
/// <summary> /// Deprecated Method for adding a new object to the Captions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCaptions(Caption caption) { base.AddObject("Captions", caption); }