/// <summary> /// Deprecated Method for adding a new object to the imageshistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToimageshistories(imageshistory imageshistory) { base.AddObject("imageshistories", imageshistory); }
/// <summary> /// Create a new imageshistory object. /// </summary> /// <param name="buildname">Initial value of the buildname property.</param> /// <param name="platform_id">Initial value of the platform_id property.</param> /// <param name="image_id">Initial value of the image_id property.</param> /// <param name="fullpath">Initial value of the fullpath property.</param> /// <param name="template_id">Initial value of the template_id property.</param> /// <param name="timecost">Initial value of the timecost property.</param> /// <param name="removestatus_id">Initial value of the removestatus_id property.</param> /// <param name="branch_id">Initial value of the branch_id property.</param> /// <param name="created">Initial value of the created property.</param> public static imageshistory Createimageshistory(global::System.String buildname, global::System.Int64 platform_id, global::System.Decimal image_id, global::System.String fullpath, global::System.Int64 template_id, global::System.Double timecost, global::System.Int64 removestatus_id, global::System.Int64 branch_id, global::System.DateTimeOffset created) { imageshistory imageshistory = new imageshistory(); imageshistory.buildname = buildname; imageshistory.platform_id = platform_id; imageshistory.image_id = image_id; imageshistory.fullpath = fullpath; imageshistory.template_id = template_id; imageshistory.timecost = timecost; imageshistory.removestatus_id = removestatus_id; imageshistory.branch_id = branch_id; imageshistory.created = created; return imageshistory; }