/// <summary> /// Create a new PatternLocation object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="rootPath">Initial value of the RootPath property.</param> public static PatternLocation CreatePatternLocation(global::System.Int32 id, global::System.String rootPath) { PatternLocation patternLocation = new PatternLocation(); patternLocation.ID = id; patternLocation.RootPath = rootPath; return patternLocation; }
/// <summary> /// Deprecated Method for adding a new object to the PatternLocations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPatternLocations(PatternLocation patternLocation) { base.AddObject("PatternLocations", patternLocation); }