Contact Form

Name

Email *

Message *

Follow on LinkedIn
Image

13. Creating Getters and Setters in BLL for Category Module



In the previous episode, we have successfully designed form for our Category Module.

In this episode, we will create Getters and Setters in Business Logic Layer (BLL) for our Category Module. We will be creating getter and setter properties based on the table on our database.

WATCH THE VIDEO

So, the code used to create this categories BLL is as follows

First, create class called categoriesBLL.cs in BLL folder and paste the following code inside it. For guidance, please WATCH THE VIDEO first.

CODE USED TO CREATE BLL

        public int id { get; set; }
        public string title { get; set; }
        public string description { get; set; }
        public DateTime added_date { get; set; }
        public int added_by { get; set; }



In the next episode we will create Data Access Layer (DAL) for our Category Module.

So, Thank you so much for reading to the last, if you like this tutorial episode then don't forget to SHARE and SUBSCRIBE to this site to get regular updates.

If you are interested to join this course please click on the link below


Comments