Part 6 Restriction Operators in LINQ

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 54

  • @kamdemkakengne
    @kamdemkakengne 7 років тому +13

    Hi Venkat! You're the best teacher I have never had !

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  7 років тому +7

      Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
      ua-cam.com/users/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs or to download all the videos for offline viewing please visit
      www.pragimtech.com/order.aspx
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      ua-cam.com/video/y780MwhY70s/v-deo.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ua-cam.com/users/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
      Good Luck
      Venkat

    • @kamdemkakengne
      @kamdemkakengne 7 років тому

      You deserve it!

    • @petermatejicka9238
      @petermatejicka9238 6 років тому +2

      I agree bro, but correct syntax is " have EVER had" :D not never i think

  • @omarinhomoudy
    @omarinhomoudy 7 років тому +3

    Hi, Venkat, I dont know always, how to thank you.... But you are helping me a lot,
    Best Teacher in my Career...
    Greeting from German

  • @kamacac87
    @kamacac87 9 років тому +1

    Outstanding tutorial. I like the way you demonstrates each and every points with a simple examples it was quite excellent.
    I learnt a lot from you via these tutorials and fundamental things got cleared which I can't ask someone as they felt bit silly but more important to understands the complexity of large programs.
    Its good enough for all .net programmers. Thank you so much Venkat. I hope more and more guys should watch and learn the things via these tutorials.
    Happy programming!
    Cheers,
    Kamaraju

  • @amogal
    @amogal 9 років тому +3

    Great tutorial Venkat, they way you explain the stuff goes behind the scenes is simply superb, please keep it coming.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  9 років тому +2

      Anwar Mogal Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
      ua-cam.com/users/kudvenkatplaylists?view=1&sort=dd
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      ua-cam.com/video/y780MwhY70s/v-deo.html
      If you want to receive email alerts, when new videos are uploaded, please feel free to subscribe to my youtube channel.
      ua-cam.com/users/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please free to share the link with your friends and family who you think would also benefit from them.

  • @tarekibneshowkot1290
    @tarekibneshowkot1290 7 років тому

    Hey Venkat,
    I am from Bangladesh, We people are very grateful to you :-)
    Thanks mate.. :-X

  • @tondar2127
    @tondar2127 5 років тому

    I have made my work resume with your amazing tutorials ! thank you so much !!! i will never forget your kindness !

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  5 років тому

      Hello SS - Wow...that's great to know. Thank you very much for all the kind words. I have included all the C# tutorial videos in logical sequence on the following page. You will also find text version of the videos and slides. Hope you will find this page handy. Good luck and all the very best with everything you are doing.
      www.pragimtech.com/courses/c-sharp-tutorial-for-beginners/

    • @tondar2127
      @tondar2127 5 років тому

      @@Csharp-video-tutorialsBlogspot thank you so much, i will definitely check it !

  • @mrafaqatpk
    @mrafaqatpk 2 роки тому

    so wonderful and amazing. I always learn from your channel if the required material is available here. If not then I search for others but first of all I come here. you are so amazing and your way of teaching is superb.

  • @computer_programming_gk
    @computer_programming_gk 2 роки тому +1

    Amazing as always. Lucky to watch such tutorials.

  • @taleofsixstrings
    @taleofsixstrings 10 років тому +3

    sir, thank you so much for sharing your gift so freely to so many of us students.
    if you could do a video on design patterns it would be great...

  • @KrishnaSharma-zg1hz
    @KrishnaSharma-zg1hz 3 роки тому +3

    Can anyone help me understand the part with, employees = dept.Employees .. ? how did the reference of 'dept.' work ? I have seen it refer from the DbContext object in most cases.

    • @computer_programming_gk
      @computer_programming_gk 2 роки тому +3

      Hi, I had the same doubt while watching this tutorial. But if we go to the tutorial portion where.edmx file is created we can clearly see that there is a relationship between department and employee entities which is shown with a connecting line. This line means that every department will have a list of employees. So that list of employees is actually created in the department class at the end as a list of property of type Employee.That's why in the loop he was able to refer Employee entity by using the dept object. I am sure this will clear your doubt.👍

  • @CountBakfromten
    @CountBakfromten Рік тому +1

    Question about Var vs Type at (16:12). Is var a better option for declaring result because it's allows the logic and return value to be updated/changed, or would you in a professional setting have the type written and update it to new return type when adding the 2nd select statement?

  • @dharmaraosalana7977
    @dharmaraosalana7977 2 роки тому +1

    Somehow objectives are not clear. Though great effort

  • @sandhoshSivan-x7y
    @sandhoshSivan-x7y 8 місяців тому +1

    how you run this on cmd?

  • @ilayarajaramasamy1263
    @ilayarajaramasamy1263 Рік тому +1

    3:17 where 4:39 10:53
    11:46 select

  • @Vivalavidapool
    @Vivalavidapool 8 років тому +1

    Love it! ♥
    Thanks so much Venkat! :)

  • @tusharkukreti7448
    @tusharkukreti7448 3 роки тому

    you are the best!

  • @petardepi4678
    @petardepi4678 9 років тому +2

    In this tutorial you used ADO.NET entity Data Model, but in the beginning of your LINQ tutorials you used LINQ ti SQL classes. What is the difference, it seems they are doing the same thing to me?

  • @theesunnlightt2268
    @theesunnlightt2268 7 років тому

    Sir, you nailed it.... I have learned a lot from your informative videos.... BTW, it would be great if you upload videos about Gof design patterns... may God bless you

  • @naodagere8210
    @naodagere8210 4 роки тому

    Great as usual! Keep going!

  • @asfandalikhan6269
    @asfandalikhan6269 3 роки тому

    Amazing Venkat :) Thank you.

  • @yully0120
    @yully0120 5 років тому +4

    Witch part is joining two database tables "Department" and "Employee"?

    • @computer_programming_gk
      @computer_programming_gk 2 роки тому +1

      There is a relationship between them. If you watch Entity Framework tutorials then you will be able to understand clearly.

  • @Vagelis_Prokopiou
    @Vagelis_Prokopiou 5 років тому

    Thanks a lot for this video 👍

  • @DrSatti
    @DrSatti 10 років тому

    Great as always. Whenever you have time, would you mind making a video to sort an array of students and the marks scored which are in random order. Then displaying the results with highest score and corresponding name in some web form. I am planning to develop such a project for kids in Himalayas, Thanks in advance.

  • @jiturcm1
    @jiturcm1 10 років тому +3

    plz Upload design patterns

  • @mageshwarank5259
    @mageshwarank5259 10 років тому +1

    why database query where method is iqueryable and why not IEnumerable.what is Difference Venkat sir.
    Thank You

    • @kamacac87
      @kamacac87 9 років тому +3

      Mageshwaran K
      I believe IQuerable is quite good when querying the data from database as it executes the select query on server side with all filters but IEnumerable executes select query on server side, load data in-memory on client side and then filter data. Therefore IEnumerable prepares for Linq to XML or collection objects e.g. Array, Dictionary list etc.
      Another important point to remember is IQueryable interface inherits from IEnumerable, so whatever IEnumerable can do, IQueryable can also do.

    • @mageshwarank5259
      @mageshwarank5259 9 років тому

      thanks Kamaraju Pukala .i understand now ......

  • @Nabolzi
    @Nabolzi 10 років тому

    Thanks for the videos

  • @dipinn9232
    @dipinn9232 8 років тому +1

    Sir you did not explain how to use the second overload on "where" method which takes 2 parameters instead you went on explaining how select manages the 2 parameters

  • @abdallahesam1836
    @abdallahesam1836 9 років тому

    Thanks a lot

  • @PraveenKumar-vd4vd
    @PraveenKumar-vd4vd 8 років тому +2

    dept.Employess.Where(x=>x.Gender=="Male");
    I don't get a thing in the above point. How does dept can refer to employees.
    dept can have Id, Name and Location details according to the tblDepartment table.
    But how can it shows the employees belong to a particular department.
    Kindly guide me.

    • @denniscual1408
      @denniscual1408 8 років тому +4

      +Praveen Kumar if you look at the script of creating Employee table on sql server.. it has a column DepartmentID (reference key) which refers to department table. So when Entity Data MOdel genarate the database, it creates a relationship between the 2 table (on the sample, its zero or one to many relationship) because of that reference key. and it generate the navigation property. the dept.Employees is a navigation property refering to Employee table.

    • @PraveenKumar-vd4vd
      @PraveenKumar-vd4vd 8 років тому +1

      +Irish Jane Bulangis Thankq very much for spending your time to clarify my doubt :)

  • @saagarsoni3
    @saagarsoni3 10 років тому

    thnx a lot sir

  • @jiturcm1
    @jiturcm1 10 років тому +1

    nice

  • @jvr9033
    @jvr9033 10 років тому

    As always +1

  • @narendarsingh4672
    @narendarsingh4672 6 років тому

    great

  • @coop78751
    @coop78751 9 років тому +1

    I don't understand where type 'Department' (singular) came from, if the table was called 'Departments' (plural).

    • @kamacac87
      @kamacac87 9 років тому

      coop78751 Department and Employee are Model classes automatically generated based on the selected tables and these are listed down in the .edmx file. Watch video snap at 18:46.

    • @kamacac87
      @kamacac87 9 років тому

      coop78751 I believe he might be changed the name of these classes to singular form.

    • @computer_programming_gk
      @computer_programming_gk 2 роки тому +1

      Visual studio is smart enough to rename the entities to make their name meaningful. We have multiple department n employee in db table Department & Employee. That's why VS named Entities as Departments & Employees. This is as per my understanding while watching EF tutorials from this channel.

  • @leavethematrix9939
    @leavethematrix9939 8 років тому

    I am not familiar with these symbols in C#. Anyone have a video that will help with that? Thanks

    • @md.sharifulislam5514
      @md.sharifulislam5514 7 років тому

      it indicates delegate method, first agrument is parameter type, and second argument is return type that delegate will.

  • @narendarsingh4672
    @narendarsingh4672 6 років тому

    great