/// <summary> /// Deprecated Method for adding a new object to the RegexCaptures EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRegexCaptures(RegexCapture regexCapture) { base.AddObject("RegexCaptures", regexCapture); }
/// <summary> /// Create a new RegexCapture object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="regexID">Initial value of the RegexID property.</param> /// <param name="captureIndex">Initial value of the CaptureIndex property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="modified">Initial value of the Modified property.</param> public static RegexCapture CreateRegexCapture(global::System.Int32 id, global::System.Int32 regexID, global::System.Int32 captureIndex, global::System.String name, global::System.DateTime created, global::System.DateTime modified) { RegexCapture regexCapture = new RegexCapture(); regexCapture.ID = id; regexCapture.RegexID = regexID; regexCapture.CaptureIndex = captureIndex; regexCapture.Name = name; regexCapture.Created = created; regexCapture.Modified = modified; return regexCapture; }