Exemplo n.º 1
0
        /// <summary></summary>
        public static CurrencySqlType GetCurrency()
        {
            string key = typeof(CurrencySqlType).Name;

            CurrencySqlType returnSqlType = ( CurrencySqlType )sqlTypes[key];

            if (returnSqlType == null)
            {
                returnSqlType = new CurrencySqlType();
                sqlTypes.Add(key, returnSqlType);
            }

            return(returnSqlType);
        }
		/// <summary></summary>
		public static CurrencySqlType GetCurrency()
		{
			string key = typeof( CurrencySqlType ).Name;

			CurrencySqlType returnSqlType = ( CurrencySqlType ) sqlTypes[ key ];
			if( returnSqlType == null )
			{
				returnSqlType = new CurrencySqlType();
				sqlTypes.Add( key, returnSqlType );
			}

			return returnSqlType;
		}