摘要: 以Car表和Brand表为例,其中Car表的Brand是Brand表的Brandcode。 (1)建立两表的linq(一定要做好主外键关系,),创建之后不用修改,如要添加,另建文件。 (2)Car表的属性扩展(注意partial) using System; using System.Collect 阅读全文
posted @ 2016-11-07 21:13 冲天小肥牛 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 完!!! 阅读全文
posted @ 2016-11-07 16:48 冲天小肥牛 阅读(200) 评论(0) 推荐(0) 编辑
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xh 阅读全文
posted @ 2016-11-07 12:24 冲天小肥牛 阅读(205) 评论(0) 推荐(0) 编辑