The doubt I am encountering is regarding the usage of static methods during the implementation of DAL and BLL access layer in a winform application.
I know that there are many articles here regarding this topic but I didn't find any article which replies to my specific questions.
A brief introduction: I am developing a windows form application which will be used by many users (each of them with their account on a virtual machine - so basically each instance of the application will be executed by different users account). Since I don't need to keep the state of many objects I decided to use (until now I mean and for some operation) static methods and in particular in DAL and BLL to perform operation like: GetUserProfiles, GetProfileByUserName, AddNewUser, UpdateUserByUserID, etc... or to keep the state of the application with some information (like: the user which is currently running the application, lookup data from DB, etc..) which are expected to remain the same for the entire execution of the application.
My question / doubt: is it correct to implement these parts of access to the database with static method since the are needed just to retrieve information and, in my opinion, is not required a state since each time they will be executed it is like a new execution and a previous state is not necessary?
Is it correct my way of thinking and my approach in your opinion or am I doing something wrong which I don't see at the moment?
Thank you every one will reply and give me a suggestion on what is better to do.