Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/261.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 类中的t Tag.Name作为PrimaryKey(因此,不再有唯一的约束内容),它不起作用!unique key也有同样的问题(因为PK…实际上是一种unique key ^^^),但现在在PK Tag.name上。我还尝试在类中使用just Tag.n_C#_Entity Framework Core_Many To Many - Fatal编程技术网

C# 类中的t Tag.Name作为PrimaryKey(因此,不再有唯一的约束内容),它不起作用!unique key也有同样的问题(因为PK…实际上是一种unique key ^^^),但现在在PK Tag.name上。我还尝试在类中使用just Tag.n

C# 类中的t Tag.Name作为PrimaryKey(因此,不再有唯一的约束内容),它不起作用!unique key也有同样的问题(因为PK…实际上是一种unique key ^^^),但现在在PK Tag.name上。我还尝试在类中使用just Tag.n,c#,entity-framework-core,many-to-many,C#,Entity Framework Core,Many To Many,类中的t Tag.Name作为PrimaryKey(因此,不再有唯一的约束内容),它不起作用!unique key也有同样的问题(因为PK…实际上是一种unique key ^^^),但现在在PK Tag.name上。我还尝试在类中使用just Tag.name作为PrimaryKey(因此,不再使用unique约束),但它不起作用!unique key也有同样的问题(因为PK实际上是一种unique key ^^^),但是现在在PK Tag.name上。 POST /recipes { "


类中的t Tag.Name作为PrimaryKey(因此,不再有唯一的约束内容),它不起作用!unique key也有同样的问题(因为PK…实际上是一种unique key ^^^),但现在在PK Tag.name上。我还尝试在类中使用just Tag.name作为PrimaryKey(因此,不再使用unique约束),但它不起作用!unique key也有同样的问题(因为PK实际上是一种unique key ^^^),但是现在在PK Tag.name上。
POST /recipes
{
  "title": "A first title",
  "tags": [
    {
      "name": "dinner"
    }
  ]
}
POST /recipes
{
  "title": "A second title",
  "tags": [
    {
      "name": "dinner"
    }
  ]
}