/// <summary> /// Deprecated Method for adding a new object to the favoritos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTofavoritos(favoritos favoritos) { base.AddObject("favoritos", favoritos); }
/// <summary> /// Create a new favoritos object. /// </summary> /// <param name="favoritoUserId">Initial value of the FavoritoUserId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="dataIns">Initial value of the DataIns property.</param> public static favoritos Createfavoritos(global::System.Int32 favoritoUserId, global::System.Int32 userId, global::System.DateTime dataIns) { favoritos favoritos = new favoritos(); favoritos.FavoritoUserId = favoritoUserId; favoritos.UserId = userId; favoritos.DataIns = dataIns; return favoritos; }