2013年5月11日

ExensionJSON

摘要: View Code public static class ExensionJSON { public static string ToJSONList(Type t,List<Object> source) { string returnValue = ""; StringBuilder sb = new StringBuilder(); sb.Append("["); foreach (var item in source) { ... 阅读全文

posted @ 2013-05-11 17:39 sajiao 阅读(182) 评论(0) 推荐(0) 编辑

实体验证和Mapping

摘要: View Code public enum MappingType { ImportData, MSSQLTable } public class ValidationError { public string FieldName { get; set; } public string ErrorMessage { get; set; } public ValidationError() { } public ValidationError(string fieldName, stri... 阅读全文

posted @ 2013-05-11 17:31 sajiao 阅读(304) 评论(0) 推荐(0) 编辑

导航

街边网