/// <summary> /// Create a new PatternModel object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="xFrameFilePath">Initial value of the XFrameFilePath property.</param> /// <param name="sPCTemplateFilePath">Initial value of the SPCTemplateFilePath property.</param> /// <param name="designerTemplateFilePath">Initial value of the DesignerTemplateFilePath property.</param> public static PatternModel CreatePatternModel(global::System.Int32 id, global::System.String name, global::System.String xFrameFilePath, global::System.String sPCTemplateFilePath, global::System.String designerTemplateFilePath) { PatternModel patternModel = new PatternModel(); patternModel.ID = id; patternModel.Name = name; patternModel.XFrameFilePath = xFrameFilePath; patternModel.SPCTemplateFilePath = sPCTemplateFilePath; patternModel.DesignerTemplateFilePath = designerTemplateFilePath; return patternModel; }
/// <summary> /// Deprecated Method for adding a new object to the PatternModels EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPatternModels(PatternModel patternModel) { base.AddObject("PatternModels", patternModel); }