5
는 다음 코드를 MSDN에서 잡고되었다 : 오류 메시지 : (리소스 파일에서 예) http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.stringlengthattribute.aspxStringLengthAttribute 및 지역화 된 텍스트
[MetadataType(typeof(ProductMetadata))]
public partial class Product
{
}
public class ProductMetadata
{
[ScaffoldColumn(true)]
[StringLength(4, ErrorMessage = "The ThumbnailPhotoFileName value cannot exceed 4 characters. ")]
public object ThumbnailPhotoFileName;
}
가 어떻게 텍스트를 지역화 적용 할 수 있는가?