3 overrides of IsPrimaryKey
System.Data.Linq (3)
Mapping\AttributedMetaModel.cs (1)
1134public override bool IsPrimaryKey {
Mapping\MappedMetaModel.cs (2)
1089public override bool IsPrimaryKey { 1780public override bool IsPrimaryKey {
20 references to IsPrimaryKey
System.Data.Linq (18)
ChangeDirector.cs (1)
361if (!mm.IsPrimaryKey) {
ChangeProcessor.cs (2)
340if (mem.IsPrimaryKey || mem.IsDbGenerated || mem.IsVersion) { 342if (mem.IsPrimaryKey) {
ChangeTracker.cs (1)
707!member.IsPrimaryKey &&
DataServices.cs (1)
566if (!mm.IsPrimaryKey) {
Mapping\AttributedMetaModel.cs (4)
559this.identities = this.dataMembers.Where(m => m.IsPrimaryKey).ToList().AsReadOnly(); 566if (mm.IsPrimaryKey && this.inheritanceRoot != this && mm.Member.DeclaringType == this.type) { 647if (mm.IsDbGenerated && mm.IsPrimaryKey && string.IsNullOrEmpty(mm.Expression)) { 652if (mm.IsPrimaryKey && !MappingSystem.IsSupportedIdentityType(mm.Type))
Mapping\MappedMetaModel.cs (4)
597this.identities = this.dataMembers.Where(m => m.IsPrimaryKey).ToList().AsReadOnly(); 603if (mm.IsPrimaryKey && this.inheritanceRoot != this && mm.Member.DeclaringType == this.type) { 715if (mm.IsDbGenerated && mm.IsPrimaryKey && string.IsNullOrEmpty(mm.Expression)) { 721if (mm.IsPrimaryKey && !MappingSystem.IsSupportedIdentityType(mm.Type))
SqlClient\Query\SqlBinder.cs (1)
836c = new SqlUserColumn(m.ClrType, sqlType, suq, name, mm.IsPrimaryKey, m.SourceExpression);
SqlClient\Reader\ObjectReaderCompiler.cs (2)
964if (mm.IsPrimaryKey) { 1019if (!mm.IsPrimaryKey) {
SqlClient\SqlBuilder.cs (2)
207if (mm.IsPrimaryKey && mm.IsDbGenerated) { 301if (mm.IsPrimaryKey && mm.IsDbGenerated) {
System.Web.DynamicData (1)
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
24IsPrimaryKey = member.IsPrimaryKey;
System.Web.Extensions (1)
UI\WebControls\LinqDataSourceView.cs (1)
871(columns[p.Name].IsPrimaryKey ||