public void Start()
        {
            ReadFile readFile = new ReadFile(ImportFileType.Organization);

            if (readFile.dt == null)
                return;

            foreach (DataRow row in readFile)
            {
                Update(new OrganizationModel(row));
            }

            readFile.Move();
        }
Пример #2
0
        public void Start()
        {
            ReadFile readFile = new ReadFile(ImportFileType.Relationship);

            if (readFile.dt == null)
            {
                return;
            }

            foreach (DataRow row in readFile)
            {
                Update(new RelationshipModel(row));
            }

            readFile.Move();
        }
Пример #3
0
        public void Start()
        {
            ReadFile readFile = new ReadFile(ImportFileType.Person);

            if (readFile.dt == null)
            {
                return;
            }

            foreach (DataRow row in readFile)
            {
                Update(new PersonModel(row));
            }

            readFile.Move();
        }