Skip to content

This repository is associated with by blog post on Inheritance Strategy in Entity Framework Core 5

Notifications You must be signed in to change notification settings

nishanc/EFCore-Inheritance-Demo

Repository files navigation

Inheritance Strategy in Entity Framework Core 5


This repository is associated with by blog post on Inheritance Strategy in Entity Framework Core 5


POST​/api​/User​/create-tph-teacher

Parameters

No parameters

Request body

application/jsontext/jsonapplication/*+json
  • Example Value
  • Schema
{
  "id": 0,
  "username": "string",
  "email": "string",
  "designation": "string",
  "speciality": "string"
}

Responses

CodeDescriptionLinks
200

Success

No links
POST​/api​/User​/create-tph-student

Parameters

No parameters

Request body

application/jsontext/jsonapplication/*+json
  • Example Value
  • Schema
{
  "id": 0,
  "username": "string",
  "email": "string",
  "cgpa": "string",
  "major": "string"
}

Responses

CodeDescriptionLinks
200

Success

No links
GET​/api​/User​/get-tph-user​/{id}

Parameters

NameDescription
id *
integer($int32)
(path)

Responses

CodeDescriptionLinks
200

Success

No links
GET​/api​/User​/get-tph-teachers-only

Parameters

No parameters

Responses

CodeDescriptionLinks
200

Success

No links
POST​/api​/User​/create-tpt-teacher

Parameters

No parameters

Request body

application/jsontext/jsonapplication/*+json
  • Example Value
  • Schema
{
  "id": 0,
  "username": "string",
  "email": "string",
  "designation": "string",
  "speciality": "string"
}

Responses

CodeDescriptionLinks
200

Success

No links
POST​/api​/User​/create-tpt-student

Parameters

No parameters

Request body

application/jsontext/jsonapplication/*+json
  • Example Value
  • Schema
{
  "id": 0,
  "username": "string",
  "email": "string",
  "cgpa": "string",
  "major": "string"
}

Responses

CodeDescriptionLinks
200

Success

No links
GET​/api​/User​/get-tpt-user​/{id}

Parameters

NameDescription
id *
integer($int32)
(path)

Responses

CodeDescriptionLinks
200

Success

No links
POST​/api​/User​/create-tpc-teacher

Parameters

No parameters

Request body

application/jsontext/jsonapplication/*+json
  • Example Value
  • Schema
{
  "id": 0,
  "username": "string",
  "email": "string",
  "designation": "string",
  "speciality": "string"
}

Responses

CodeDescriptionLinks
200

Success

No links
POST​/api​/User​/create-tpc-student

Parameters

No parameters

Request body

application/jsontext/jsonapplication/*+json
  • Example Value
  • Schema
{
  "id": 0,
  "username": "string",
  "email": "string",
  "cgpa": "string",
  "major": "string"
}

Responses

CodeDescriptionLinks
200

Success

No links
GET​/api​/User​/get-tpc-teacher​/{id}

Parameters

NameDescription
id *
integer($int32)
(path)

Responses

CodeDescriptionLinks
200

Success

No links
GET​/api​/User​/get-tpc-student​/{id}

Parameters

NameDescription
id *
integer($int32)
(path)

Responses

CodeDescriptionLinks
200

Success

No links

About

This repository is associated with by blog post on Inheritance Strategy in Entity Framework Core 5

Topics

Resources

Stars

Watchers

Forks

Languages