public static async Task <CoordinateMethod> Load(WaDEContext db, CoordinateMethodBuilderOptions opts)
        {
            var item = Create(opts);

            db.CoordinateMethod.Add(item);
            await db.SaveChangesAsync();

            return(item);
        }
        public static CoordinateMethod Create(CoordinateMethodBuilderOptions opts)
        {
            var       geometryFactory = NtsGeometryServices.Instance.CreateGeometryFactory(srid: 4326);
            WKTReader shapeMaker      = new WKTReader(geometryFactory);

            var faker = new Faker <CoordinateMethod>()
                        .RuleFor(a => a.Name, f => f.Random.AlphaNumeric(100))
                        .RuleFor(a => a.Term, f => f.Random.AlphaNumeric(2))
                        .RuleFor(a => a.Definition, f => f.Random.AlphaNumeric(10))
                        .RuleFor(a => a.State, f => f.Random.AlphaNumeric(10))
                        .RuleFor(a => a.SourceVocabularyUri, f => f.Random.AlphaNumeric(100))
            ;

            return(faker);
        }