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