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