Exemplo n.º 1
0
 /// <summary>
 /// Create a new LunchMenuFeature object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="restaurant">Initial value of the Restaurant property.</param>
 /// <param name="featureType">Initial value of the FeatureType property.</param>
 /// <param name="line">Initial value of the Line property.</param>
 /// <param name="linePosition">Initial value of the LinePosition property.</param>
 public static LunchMenuFeature CreateLunchMenuFeature(global::System.String id, global::System.String restaurant, global::System.Int32 featureType, global::System.Int32 line, global::System.Int32 linePosition)
 {
     LunchMenuFeature lunchMenuFeature = new LunchMenuFeature();
     lunchMenuFeature.id = id;
     lunchMenuFeature.Restaurant = restaurant;
     lunchMenuFeature.FeatureType = featureType;
     lunchMenuFeature.Line = line;
     lunchMenuFeature.LinePosition = linePosition;
     return lunchMenuFeature;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LunchMenuFeatures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLunchMenuFeatures(LunchMenuFeature lunchMenuFeature)
 {
     base.AddObject("LunchMenuFeatures", lunchMenuFeature);
 }