public clsMAST_LEGINFO_VANILLA_FLOATING_TB Clone()
		{
			try
			{
				clsMAST_LEGINFO_VANILLA_FLOATING_TB cloneTB = new clsMAST_LEGINFO_VANILLA_FLOATING_TB();
				
				
				cloneTB._INSTRUMENT_ID = this._INSTRUMENT_ID;
				cloneTB._LEG_TYP = this._LEG_TYP;
				cloneTB._NOTIONAL = this._NOTIONAL;
				cloneTB._CURR = this._CURR;
				cloneTB._EFFECTIVE_DT = this._EFFECTIVE_DT;
				cloneTB._MATURITY_DT = this._MATURITY_DT;
				cloneTB._LEG_TENOR = this._LEG_TENOR;
				cloneTB._FIXING_INDEX_CD = this._FIXING_INDEX_CD;
				cloneTB._GREARING = this._GREARING;
				cloneTB._SPREAD = this._SPREAD;
				cloneTB._CAP = this._CAP;
				cloneTB._FLOOR = this._FLOOR;
				cloneTB._INARREAR = this._INARREAR; 
				
				return cloneTB;
			}
			catch(Exception ex)
			{
				throw new Exception(ex.Message);
			}
		}
		public static clsMAST_LEGINFO_VANILLA_FLOATING_TB Create(DataRow dr)
		{
			try
			{
				clsMAST_LEGINFO_VANILLA_FLOATING_TB tb = new clsMAST_LEGINFO_VANILLA_FLOATING_TB();
				
				
				tb._INSTRUMENT_ID = Convert.ToString(dr[0]);
				tb._LEG_TYP = Convert.ToInt32(dr[1]);
				tb._NOTIONAL = Convert.ToDouble(dr[2]);
				tb._CURR = Convert.ToString(dr[3]);
				tb._EFFECTIVE_DT = Convert.ToString(dr[4]);
				tb._MATURITY_DT = Convert.ToString(dr[5]);
				tb._LEG_TENOR = Convert.ToString(dr[6]);
				tb._FIXING_INDEX_CD = Convert.ToString(dr[7]);
				tb._GREARING = Convert.ToDouble(dr[8]);
				tb._SPREAD = Convert.ToDouble(dr[9]);
				tb._CAP = Convert.ToDouble(dr[10]);
				tb._FLOOR = Convert.ToDouble(dr[11]);
				tb._INARREAR = Convert.ToInt32(dr[12]); 
				
				return tb;
			}
			catch(Exception ex)
			{
				throw new Exception(ex.Message);
			}
		}