Esempio n. 1
0
        /// <summary>
        ///   创建币种
        /// </summary>
        /// <param name="cnName">币种中文名称</param>
        /// <param name="enName">币种英文名称</param>
        /// <param name="symbol">货币符号</param>
        /// <returns></returns>
        public static Currency CreateCurrency(string cnName, string enName,string symbol)
        {
            var currency = new Currency
            {
                CnName = cnName,
                EnName = enName,
            };
            currency.GenerateNewIdentity();

            return currency;
        }