G
Guest
Hi,
Why there are UniqueConstraint constructors that accept a bool that sets the
constraint as primary key if the flag is not used??
this is the code inside IsPrimaryKey property...
public bool IsPrimaryKey
{
get
{
if (this.Table == null)
{
return false;
}
return (this == this.Table.primaryKey);
}
}
many thanks,
Dan
Why there are UniqueConstraint constructors that accept a bool that sets the
constraint as primary key if the flag is not used??
this is the code inside IsPrimaryKey property...
public bool IsPrimaryKey
{
get
{
if (this.Table == null)
{
return false;
}
return (this == this.Table.primaryKey);
}
}
many thanks,
Dan