/// <summary> /// Deprecated Method for adding a new object to the SavedUserQueries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSavedUserQueries(SavedUserQuery savedUserQuery) { base.AddObject("SavedUserQueries", savedUserQuery); }
/// <summary> /// Create a new SavedUserQuery object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="webSiteId">Initial value of the WebSiteId property.</param> /// <param name="algorithmLevel">Initial value of the AlgorithmLevel property.</param> /// <param name="applicationSource">Initial value of the ApplicationSource property.</param> /// <param name="charCount">Initial value of the CharCount property.</param> /// <param name="createdAt">Initial value of the CreatedAt property.</param> public static SavedUserQuery CreateSavedUserQuery(global::System.Int64 id, global::System.String name, global::System.Int64 userId, global::System.String userName, global::System.Int64 webSiteId, global::System.String algorithmLevel, global::System.String applicationSource, global::System.Int32 charCount, global::System.DateTime createdAt) { SavedUserQuery savedUserQuery = new SavedUserQuery(); savedUserQuery.Id = id; savedUserQuery.Name = name; savedUserQuery.UserId = userId; savedUserQuery.UserName = userName; savedUserQuery.WebSiteId = webSiteId; savedUserQuery.AlgorithmLevel = algorithmLevel; savedUserQuery.ApplicationSource = applicationSource; savedUserQuery.CharCount = charCount; savedUserQuery.CreatedAt = createdAt; return savedUserQuery; }