Skip to content

Commit 65ee711

Browse files
committed
first commit
1 parent cba693e commit 65ee711

File tree

547 files changed

+24157
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

547 files changed

+24157
-0
lines changed

第10章 反射/MiniORM

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit f7798b97e85915d303b41bb0f92befd1a42554c9

第10章 反射/ReflectionLab

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 47abe7ec355aef28793534379634288c5451ba37
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 084f86c87cf5b99b16a25c9bc3f535f49d43bf42
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 89924d7cc49342bff61d9269ccd2e72a2894377c
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 904ecd534f939e8c6f1b06372b8b05b28f243b23
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27004.2008
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EFLab", "EFLab\EFLab.csproj", "{3B7B5809-D208-47E4-A035-997EB1E76833}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{3B7B5809-D208-47E4-A035-997EB1E76833}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{3B7B5809-D208-47E4-A035-997EB1E76833}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{3B7B5809-D208-47E4-A035-997EB1E76833}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{3B7B5809-D208-47E4-A035-997EB1E76833}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {5F220544-1342-40F5-8F72-5DCA164411D2}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<configSections>
4+
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
5+
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
6+
</configSections>
7+
<startup>
8+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
9+
</startup>
10+
<connectionStrings>
11+
<add name="NORTHWNDEntities" connectionString="metadata=res://*/Northwind.csdl|res://*/Northwind.ssdl|res://*/Northwind.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=(LocalDB)\MSSQLLocalDB;attachdbfilename=|DataDirectory|\NORTHWND.MDF;integrated security=True;connect timeout=30;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
12+
<add name="Model1" connectionString="data source=(LocalDb)\MSSQLLocalDB;initial catalog=EFLab.Model1;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
13+
</connectionStrings>
14+
<entityFramework>
15+
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
16+
<parameters>
17+
<parameter value="mssqllocaldb" />
18+
</parameters>
19+
</defaultConnectionFactory>
20+
<providers>
21+
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
22+
</providers>
23+
</entityFramework>
24+
</configuration>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// 此代码已从模板生成。
4+
//
5+
// 手动更改此文件可能导致应用程序出现意外的行为。
6+
// 如果重新生成代码,将覆盖对此文件的手动更改。
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
10+
namespace EFLab
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
15+
public partial class Categories
16+
{
17+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
18+
public Categories()
19+
{
20+
this.Products = new HashSet<Products>();
21+
}
22+
23+
public int CategoryID { get; set; }
24+
public string CategoryName { get; set; }
25+
public string Description { get; set; }
26+
public byte[] Picture { get; set; }
27+
28+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
29+
public virtual ICollection<Products> Products { get; set; }
30+
}
31+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// 此代码已从模板生成。
4+
//
5+
// 手动更改此文件可能导致应用程序出现意外的行为。
6+
// 如果重新生成代码,将覆盖对此文件的手动更改。
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
10+
namespace EFLab
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
15+
public partial class Contacts
16+
{
17+
public int ContactID { get; set; }
18+
public string ContactType { get; set; }
19+
public string CompanyName { get; set; }
20+
public string ContactName { get; set; }
21+
public string ContactTitle { get; set; }
22+
public string Address { get; set; }
23+
public string City { get; set; }
24+
public string Region { get; set; }
25+
public string PostalCode { get; set; }
26+
public string Country { get; set; }
27+
public string Phone { get; set; }
28+
public string Extension { get; set; }
29+
public string Fax { get; set; }
30+
public string HomePage { get; set; }
31+
public string PhotoPath { get; set; }
32+
public byte[] Photo { get; set; }
33+
}
34+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// 此代码已从模板生成。
4+
//
5+
// 手动更改此文件可能导致应用程序出现意外的行为。
6+
// 如果重新生成代码,将覆盖对此文件的手动更改。
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
10+
namespace EFLab
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
15+
public partial class CustomerDemographics
16+
{
17+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
18+
public CustomerDemographics()
19+
{
20+
this.Customers = new HashSet<Customers>();
21+
}
22+
23+
public string CustomerTypeID { get; set; }
24+
public string CustomerDesc { get; set; }
25+
26+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
27+
public virtual ICollection<Customers> Customers { get; set; }
28+
}
29+
}

0 commit comments

Comments
 (0)