예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the assets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToassets(asset asset)
 {
     base.AddObject("assets", asset);
 }
예제 #2
0
 /// <summary>
 /// Create a new asset object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="asset_name">Initial value of the asset_name property.</param>
 public static asset Createasset(global::System.Int32 id, global::System.String asset_name)
 {
     asset asset = new asset();
     asset.id = id;
     asset.asset_name = asset_name;
     return asset;
 }