/// <summary> /// Deprecated Method for adding a new object to the VersionControlType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVersionControlType(VersionControlType versionControlType) { base.AddObject("VersionControlType", versionControlType); }
public void CreateVersionControlType(VersionControlType source) { context.VersionControlType.AddObject(source); }
/// <summary> /// Create a new VersionControlType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> public static VersionControlType CreateVersionControlType(global::System.Int32 id, global::System.String name) { VersionControlType versionControlType = new VersionControlType(); versionControlType.ID = id; versionControlType.Name = name; return versionControlType; }