예제 #1
0
 internal object Bind(object obj)
 {
     return(_binding.Bind(obj));
 }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="type"></param>
        /// <param name="row"></param>
        /// <param name="obj"></param>
        /// <param name="prefix"></param>
        /// <returns></returns>
        public static object ToModel(Type type, DataRow row, object obj, string prefix)
        {
            var binding = new ModelBinding(type, row, prefix);

            return(binding.Bind(obj));
        }