Beispiel #1
0
        public override TDomain Translate(ValueTextEntry from)
        {
            var to = new TDomain();

            to.Id   = from.Value;
            to.Name = from.Text;
            return(to);
        }
Beispiel #2
0
        public override ValueTextEntry Translate(TDomain from)
        {
            var to = new ValueTextEntry();

            to.Value = from.Id;
            to.Text  = from.Name;
            return(to);
        }