Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the favoritos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTofavoritos(favoritos favoritos)
 {
     base.AddObject("favoritos", favoritos);
 }
Example #2
0
 /// <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;
 }