Ejemplo n.º 1
0
        /// <summary>
        /// Create a new GrabberRuleset object.
        /// </summary>
        /// <param name="rulesetId">Initial value of the RulesetId property.</param>
        /// <param name="rulesetName">Initial value of the RulesetName property.</param>
        /// <param name="rulesetKeyword">Initial value of the RulesetKeyword property.</param>
        /// <param name="isActive">Initial value of the IsActive property.</param>
        /// <param name="createdDate">Initial value of the CreatedDate property.</param>
        public static GrabberRuleset CreateGrabberRuleset(global::System.Guid rulesetId, global::System.String rulesetName, global::System.String rulesetKeyword, global::System.Boolean isActive, global::System.DateTime createdDate)
        {
            GrabberRuleset grabberRuleset = new GrabberRuleset();

            grabberRuleset.RulesetId      = rulesetId;
            grabberRuleset.RulesetName    = rulesetName;
            grabberRuleset.RulesetKeyword = rulesetKeyword;
            grabberRuleset.IsActive       = isActive;
            grabberRuleset.CreatedDate    = createdDate;
            return(grabberRuleset);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GrabberRulesets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGrabberRulesets(GrabberRuleset grabberRuleset)
 {
     base.AddObject("GrabberRulesets", grabberRuleset);
 }