/// <summary> /// Create a new TemplateType object. /// </summary> /// <param name="tempTypeId">Initial value of the TempTypeId property.</param> public static TemplateType CreateTemplateType(global::System.Int32 tempTypeId) { TemplateType templateType = new TemplateType(); templateType.TempTypeId = tempTypeId; return templateType; }
/// <summary> /// Deprecated Method for adding a new object to the TemplateTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTemplateTypes(TemplateType templateType) { base.AddObject("TemplateTypes", templateType); }