Exemple #1
0
        protected void ReadAssociations()
        {
            var driver = new SeparatedTextDriver();

            if (File.Exists(Export.PATH_ASSOCIATIONS))
            {
                _associations = TableReader.Read <XAssociation>(Export.PATH_ASSOCIATIONS, driver).ToDictionary(ass => ass.Key, ass => ass.Identifier);
                if (_associations.Count > 0)
                {
                    Provision.ContinueFrom(typeof(XUser), _associations.Max(pair => pair.Value));
                }
            }
        }