예제 #1
0
		public override object StringToField(string from)
		{
			string[] splited = from.Split(',');

			NameField res = new NameField();
			res.LastName = splited[0].Trim();
			res.FirstName = splited[1].Trim();

			return res;
		}
        public override object StringToField(string from)
        {
            string[] splited = from.Split(',');

            NameField res = new NameField();

            res.LastName  = splited[0].Trim();
            res.FirstName = splited[1].Trim();

            return(res);
        }