/// <summary> /// Create a new Asset object. /// </summary> /// <param name="assetID">Initial value of the AssetID property.</param> /// <param name="valueInINR">Initial value of the ValueInINR property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="assetNameID">Initial value of the AssetNameID property.</param> public static Asset CreateAsset(global::System.Int64 assetID, global::System.Decimal valueInINR, global::System.Decimal quantity, global::System.Int64 assetNameID) { Asset asset = new Asset(); asset.AssetID = assetID; asset.ValueInINR = valueInINR; asset.Quantity = quantity; asset.AssetNameID = assetNameID; return asset; }
/// <summary> /// Deprecated Method for adding a new object to the Assets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAssets(Asset asset) { base.AddObject("Assets", asset); }