今天学了一下.net的WCF组件,边心血来潮,想着现在不都是前后分离,调接口开发不,于是赶紧写了一简单的后台数据,哈哈 废话不多说,直接上代码;
注意需要导入库!
实体类:Customer
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace domain { public class Customer { public string CustomerId { set; get; } public string CompanyName { set; get; } public string ContactName { set; get; } public string Address { set; get; } public string test1 { set; get; } }; }