/// <summary>
 /// Create a new Polls object.
 /// </summary>
 /// <param name="pollGuid">Initial value of the PollGuid property.</param>
 /// <param name="siteGuid">Initial value of the SiteGuid property.</param>
 /// <param name="question">Initial value of the Question property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 /// <param name="anonymousVoting">Initial value of the AnonymousVoting property.</param>
 /// <param name="allowViewingResultsBeforeVoting">Initial value of the AllowViewingResultsBeforeVoting property.</param>
 /// <param name="showOrderNumbers">Initial value of the ShowOrderNumbers property.</param>
 /// <param name="showResultsWhenDeactivated">Initial value of the ShowResultsWhenDeactivated property.</param>
 /// <param name="activeFrom">Initial value of the ActiveFrom property.</param>
 /// <param name="activeTo">Initial value of the ActiveTo property.</param>
 public static Polls CreatePolls(global::System.Guid pollGuid, global::System.Guid siteGuid, global::System.String question, global::System.Boolean active, global::System.Boolean anonymousVoting, global::System.Boolean allowViewingResultsBeforeVoting, global::System.Boolean showOrderNumbers, global::System.Boolean showResultsWhenDeactivated, global::System.DateTime activeFrom, global::System.DateTime activeTo)
 {
     Polls polls = new Polls();
     polls.PollGuid = pollGuid;
     polls.SiteGuid = siteGuid;
     polls.Question = question;
     polls.Active = active;
     polls.AnonymousVoting = anonymousVoting;
     polls.AllowViewingResultsBeforeVoting = allowViewingResultsBeforeVoting;
     polls.ShowOrderNumbers = showOrderNumbers;
     polls.ShowResultsWhenDeactivated = showResultsWhenDeactivated;
     polls.ActiveFrom = activeFrom;
     polls.ActiveTo = activeTo;
     return polls;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Polls EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPolls(Polls polls)
 {
     base.AddObject("Polls", polls);
 }