Exemple #1
0
        public void ConfigPropAttribName( )
        {
            ISchema schema = Schema.Initialize(ID)
                             .AddTypes(DataType.Int, DataType.String, DataType.String);
            var idProp = schema.ConfigureField(c => c[0]);

            idProp.Name = "id";

            Assert.AreEqual(Schema.RC_ERROR, schema.Validate(out (IField prop, string msg)[] fields));