Example #1
0
 /// <summary>
 /// Create a new Config object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="key">Initial value of the Key property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 public static Config CreateConfig(global::System.Int32 id, global::System.String key, global::System.String value)
 {
     Config config = new Config();
     config.ID = id;
     config.Key = key;
     config.Value = value;
     return config;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Configs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConfigs(Config config)
 {
     base.AddObject("Configs", config);
 }