metadatatype
Attributes of properties in MetadataType are ignored by EntLib Validation
It\'s an EntLib-Validator-issue again. I\'m playing with EntLib 5.0 in C# and .Net 4.0 on XP pro. I have some business objects (partial classes) generated by T4 templates. So I decided to put their v[详细]
2023-03-20 04:16 分类:问答How to map data from other languages to java
We have to store data from some flat files that is created using IBM\'s Ab-Initio product. They have their own datatypes that I need to map to java data-types while I process that data in java.[详细]
2023-02-17 06:49 分类:问答Using Silvlight, custom EF POCO, custom Validation - leveraging Metadata and its not working in Silverlight 4
I am using metadata validation for both my MVC and SIlverlight together. However, the classes for silverlight arent working, and I think its due to the MetadataTypeAttribute that doesn\'t exist for si[详细]
2023-01-28 23:57 分类:问答Is there a way to instruct ASP.NET MVC about some class metadata other than putting the MetadataTypeAttribute directly on the class?
Here\'s a sample of how it works now: [MetadataType(typeof(PersonMetadata))] public class Person { public string Name { get; set; }[详细]
2023-01-18 09:18 分类:问答Metadatatypes with self-validation using validation application block
Is it possible to use the selfvalidation attribute 开发者_StackOverflowwith my validations located in a metadatatype?I\'m using Enterprise Library 5\'s Validation Application Block.As I explained in m[详细]
2023-01-15 10:27 分类:问答.NET 4 RTM MetadataType attribute ignored when using Validator
I am using VS 2010 RTM and trying to perform some basic validation on a simple type using MetadataTypeAttribute. When I put the validation attribute on the main class, everything works. However, when[详细]
2022-12-27 18:22 分类:问答When using Data Annotations with MVC, Pro and Cons of using an interface vs. a MetadataType
If you read this article on Validation with the Data Annotation Validators, it shows that you can use the MetadataType attribute to add validation attributes to properties on partial classes.You use t[详细]
2022-12-25 07:12 分类:问答