コード例 #1
0
 /// <summary>
 /// This creates a record with two fields, a string called "Currency" and a single decimal string called "Rate"
 /// with a default value of 1.00.
 /// </summary>
 /// <returns>The record metadata definition.</returns>
 public IMRecord CreateCurrentRecord()
 {
     return(factory.Record(
                "CurrencyRecord",
                factory.String("Currency"),
                factory.Decimal("Rate", "1.00")));
 }