Look on the right side of this page, and start studying the related questions:
Related Questions
How to do unit testing in C#
Automated unit testing in C sharp
Unit test is crashing
Using conditional compilation for unit testing
Unit test a webrequest that uses a proxy
Unit Test Dependent Methods
Unit Test Project Error
Help with unit testing c# code
Unit test frameworks
unit test implementation
"Searching a lot of websites for the answer but it does not exists." Nonsense !
You need to learn better search skills.
Try searching on specific topics like: "c# unit test database functions" [
^]