コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FeaturesEnableds EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFeaturesEnableds(FeaturesEnabled featuresEnabled)
 {
     base.AddObject("FeaturesEnableds", featuresEnabled);
 }
コード例 #2
0
 /// <summary>
 /// Create a new FeaturesEnabled object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="featureName">Initial value of the FeatureName property.</param>
 /// <param name="enabled">Initial value of the Enabled property.</param>
 public static FeaturesEnabled CreateFeaturesEnabled(global::System.Int32 id, global::System.Int32 userId, global::System.String featureName, global::System.Boolean enabled)
 {
     FeaturesEnabled featuresEnabled = new FeaturesEnabled();
     featuresEnabled.Id = id;
     featuresEnabled.UserId = userId;
     featuresEnabled.FeatureName = featureName;
     featuresEnabled.Enabled = enabled;
     return featuresEnabled;
 }