Repository Pattern - C# Help

helplesser

Well-known member
  • Nov 20, 2017
    19,075
    29,005
    113
    36
    Mirihana
    alis.alberta.ca
    There is no right or wrong answer to this question.
    It's all up to the team to decide which pattern you use.
    The most important thing is whatever you use keep the consistency throughout the application.

    However Unit of work pattern blends nicely with the repository pattern.
     

    SupiriKollek

    Well-known member
  • Aug 30, 2021
    3,363
    5,966
    113
    Rule of Thumb ekak widihata Mosh kiyala thiyana eka hari. Mu kiyana reason ekama thama Oke awla thiyenne

    Eunata oka Project eka anuwa depend wenawa bn

    Okkoma iwara wela Okkoma object eka update karapan Entity framework use karanwanam

    Uba Entity framework eka DB connect karanna + Model generate witharada use karanne ?.
     
    • Like
    Reactions: kinkon

    119©

    Well-known member
  • Sep 29, 2012
    2,415
    2,163
    113
    ~ගෙදර~
    do you use entity framework?
    entityframework core
    Rule of Thumb ekak widihata Mosh kiyala thiyana eka hari. Mu kiyana reason ekama thama Oke awla thiyenne

    Eunata oka Project eka anuwa depend wenawa bn

    Okkoma iwara wela Okkoma object eka update karapan Entity framework use karanwanam

    Uba Entity framework eka DB connect karanna + Model generate witharada use karanne ?.
    okkotama user karanawa insert update delete.