Ejemplo n.º 1
0
        public void InitFields(params string[] fields)
        {
            var rowType = this.Table.GetElementType();

            this.propertyPaths = new PropertyPath[fields.Length];
            this.propertyTypes = new Type[fields.Length];

            for (var i = 0; i < fields.Length; i++)
            {
                var p = new PropertyPath(rowType, fields[i]);
                this.propertyPaths[i] = p;
                this.propertyTypes[i] = p.GetLastType();
            }
        }