/// <summary> /// Create a new Build object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="buildTypeID">Initial value of the BuildTypeID property.</param> /// <param name="projectID">Initial value of the ProjectID property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static Build CreateBuild(global::System.Int32 id, global::System.Int32 buildTypeID, global::System.Int32 projectID, global::System.Int32 status, global::System.DateTime createdDate) { Build build = new Build(); build.ID = id; build.BuildTypeID = buildTypeID; build.ProjectID = projectID; build.Status = status; build.CreatedDate = createdDate; return build; }
public void CreateBuild(Build source) { context.Build.AddObject(source); }
/// <summary> /// Deprecated Method for adding a new object to the Build EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBuild(Build build) { base.AddObject("Build", build); }