Exemplo n.º 1
0
        /// <summary>
        /// Create a new CompetitorAttribute object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="industryId">Initial value of the IndustryId property.</param>
        /// <param name="placeId">Initial value of the PlaceId property.</param>
        public static CompetitorAttribute CreateCompetitorAttribute(global::System.Int64 id, global::System.Guid userId, global::System.Int64 industryId, global::System.Int64 placeId)
        {
            CompetitorAttribute competitorAttribute = new CompetitorAttribute();

            competitorAttribute.Id         = id;
            competitorAttribute.UserId     = userId;
            competitorAttribute.IndustryId = industryId;
            competitorAttribute.PlaceId    = placeId;
            return(competitorAttribute);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CompetitorAttributes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCompetitorAttributes(CompetitorAttribute competitorAttribute)
 {
     base.AddObject("CompetitorAttributes", competitorAttribute);
 }