Ignore:
Timestamp:
08/28/24 21:41:13 (3 months ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
a850333
Parents:
118e414
Message:

Use of views

  1. Use of views in VetCenters.
  2. Ability to provide a response to a given response.
Location:
PostgreSqlDotnetCore/Models
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Models/BlogPostAnswers.cs

    r118e414 re9bb9d1  
    1919
    2020        public int usersid { get; set; }
     21
     22        [NotMapped]
     23        public List<BlogPostAnswers> blogPostAnswers{ get; set; }
    2124    }
    2225}
  • PostgreSqlDotnetCore/Models/Pet_CaresClass.cs

    r118e414 re9bb9d1  
    2222        public DateTime start_date { get; set; }
    2323
     24        // [ForeignKey("PetsClass")]
     25        // [Column("petid")]
     26        public int pet_id { get; set; }
     27        //public PetsClass PetsClass { get; set; }
     28
     29
    2430        public void SetDatesToUtc()
    2531        {
  • PostgreSqlDotnetCore/Models/VetCenter.cs

    r118e414 re9bb9d1  
    99namespace PostgreSqlDotnetCore.Models
    1010{
    11     [Table("vet_centers", Schema = "project")]
     11    [Table("vet_centers_with_city", Schema = "project")]
    1212    public class VetCenter
    1313    {
    14         [Key]
     14       // [Key]
    1515        public int id { get; set; }
    1616
Note: See TracChangeset for help on using the changeset viewer.