Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TemplateSections EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTemplateSections(TemplateSection templateSection)
 {
     base.AddObject("TemplateSections", templateSection);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new TemplateSection object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="templateId">Initial value of the TemplateId property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="order">Initial value of the Order property.</param>
 /// <param name="hasComments">Initial value of the HasComments property.</param>
 /// <param name="lMRights">Initial value of the LMRights property.</param>
 /// <param name="directorRights">Initial value of the DirectorRights property.</param>
 /// <param name="manageeRights">Initial value of the ManageeRights property.</param>
 public static TemplateSection CreateTemplateSection(global::System.Int32 id, global::System.Int32 templateId, global::System.Byte type, global::System.Byte order, global::System.Boolean hasComments, global::System.Byte lMRights, global::System.Byte directorRights, global::System.Byte manageeRights)
 {
     TemplateSection templateSection = new TemplateSection();
     templateSection.ID = id;
     templateSection.TemplateId = templateId;
     templateSection.Type = type;
     templateSection.Order = order;
     templateSection.HasComments = hasComments;
     templateSection.LMRights = lMRights;
     templateSection.DirectorRights = directorRights;
     templateSection.ManageeRights = manageeRights;
     return templateSection;
 }