• 大小: 1.12M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: Xml  C#  

资源简介


资源截图

代码片段和文件信息

using System.Data.Linq.Mapping;

namespace ConsoleApplication1
{
    [Table(Name = “Customers“)]
    public class Customer
    {
        [Column(IsPrimaryKey = true Name = “CustomerID“)]
        public string MyCustomerID { get; set; }
        [Column]
        public string CompanyName { get; set; }
        //[Column]
        //public string ContactName { get; set; }
        //[Column]
        //public string Contacttitle { get; set; }
        //[Column]
        //public string Address { get; set; }
        //[Column]
        //public string City { get; set; }
        //[Column]
        //public string Region { get; set; }
        //[Column]
        //public string PostalCode { get; set; }
        [Column]
        public string Country { get; set; }
        //[Col

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-02-20 19:33  ConsoleApplication1\
     文件        6148  2012-02-20 14:34  ConsoleApplication1\.DS_Store
     目录           0  2012-06-09 16:03  __MACOSX\
     目录           0  2012-06-09 16:03  __MACOSX\ConsoleApplication1\
     文件          82  2012-02-20 14:34  __MACOSX\ConsoleApplication1\._.DS_Store
     目录           0  2012-06-09 15:59  ConsoleApplication1\ConsoleApplication1\
     文件        6148  2012-02-20 14:34  ConsoleApplication1\ConsoleApplication1\.DS_Store
     目录           0  2012-06-09 16:03  __MACOSX\ConsoleApplication1\ConsoleApplication1\
     文件          82  2012-02-20 14:34  __MACOSX\ConsoleApplication1\ConsoleApplication1\._.DS_Store
     文件         459  2009-09-19 19:14  ConsoleApplication1\ConsoleApplication1\app.config
     文件         244  2009-09-19 19:14  __MACOSX\ConsoleApplication1\ConsoleApplication1\._app.config
     文件        6207  2009-09-19 19:14  ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj
     文件         244  2009-09-19 19:14  __MACOSX\ConsoleApplication1\ConsoleApplication1\._ConsoleApplication1.csproj
     文件         927  2009-09-19 19:14  ConsoleApplication1\ConsoleApplication1\Customer.cs
     文件         244  2009-09-19 19:14  __MACOSX\ConsoleApplication1\ConsoleApplication1\._Customer.cs
     文件      279629  2009-09-19 19:14  ConsoleApplication1\ConsoleApplication1\hamlet.xml
     文件         244  2009-09-19 19:14  __MACOSX\ConsoleApplication1\ConsoleApplication1\._hamlet.xml
     文件         383  2009-09-19 19:14  ConsoleApplication1\ConsoleApplication1\MyNorthwindDataContext.cs
     文件         244  2009-09-19 19:14  __MACOSX\ConsoleApplication1\ConsoleApplication1\._MyNorthwindDataContext.cs
     文件        3317  2009-09-19 19:14  ConsoleApplication1\ConsoleApplication1\Northwind.dbml
     文件         244  2009-09-19 19:14  __MACOSX\ConsoleApplication1\ConsoleApplication1\._Northwind.dbml
     文件        1643  2009-09-19 19:14  ConsoleApplication1\ConsoleApplication1\Northwind.dbml.layout
     文件         244  2009-09-19 19:14  __MACOSX\ConsoleApplication1\ConsoleApplication1\._Northwind.dbml.layout
     文件       21039  2009-09-19 19:14  ConsoleApplication1\ConsoleApplication1\Northwind.designer.cs
     文件         244  2009-09-19 19:14  __MACOSX\ConsoleApplication1\ConsoleApplication1\._Northwind.designer.cs
     文件     3538944  2009-09-19 19:15  ConsoleApplication1\ConsoleApplication1\NORTHWND.MDF
     文件         244  2009-09-19 19:15  __MACOSX\ConsoleApplication1\ConsoleApplication1\._NORTHWND.MDF
     文件     3932160  2009-09-19 19:15  ConsoleApplication1\ConsoleApplication1\NORTHWND_log.ldf
     文件         244  2009-09-19 19:15  __MACOSX\ConsoleApplication1\ConsoleApplication1\._NORTHWND_log.ldf
     文件        4127  2012-06-09 15:58  ConsoleApplication1\ConsoleApplication1\Program.cs
     文件         244  2012-06-09 15:58  __MACOSX\ConsoleApplication1\ConsoleApplication1\._Program.cs
............此处省略188个文件信息

评论

共有 条评论