/// <summary> /// Create a new PatternInstance object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="sPCFilePath">Initial value of the SPCFilePath property.</param> /// <param name="codeFilePath">Initial value of the CodeFilePath property.</param> /// <param name="designerFilePath">Initial value of the DesignerFilePath property.</param> public static PatternInstance CreatePatternInstance(global::System.Int32 id, global::System.String name, global::System.String sPCFilePath, global::System.String codeFilePath, global::System.String designerFilePath) { PatternInstance patternInstance = new PatternInstance(); patternInstance.ID = id; patternInstance.Name = name; patternInstance.SPCFilePath = sPCFilePath; patternInstance.CodeFilePath = codeFilePath; patternInstance.DesignerFilePath = designerFilePath; return patternInstance; }
/// <summary> /// Deprecated Method for adding a new object to the PatternInstances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPatternInstances(PatternInstance patternInstance) { base.AddObject("PatternInstances", patternInstance); }