![generic repository pattern c# entity framework 6 | Lecture 16 | hindi](https://i0.wp.com/yogeshdotnet.com/wp-content/uploads/generic-repository-design-pattern-CRUD-MVC.jpg?resize=1080%2C675&ssl=1)
generic repository pattern c# entity framework 6 | Lecture 16 | hindi
What is Repository Pattern 1.reduces repetitive code and separates the Data Access and Business Logic Used for resuability 2.Easy for further changes. How to implement Repository Pattern 1.Create an interface.- Define all CRUD functions for 2.A class implement...
![singleton design pattern asp.net C#](https://i0.wp.com/yogeshdotnet.com/wp-content/uploads/Singleton-Design-Pattern-in-Csharp.jpg?resize=1080%2C675&ssl=1)
singleton design pattern asp.net C#
What is singleton pattern 1.A class Object having only one instance and able to perform all task. 2.This design pattern is considered as creational(object creation) design pattern. 3.No constructor parameters are allowed while creating an instance. How to implement...
![UPDATE and DELETE – SQLite3 with Python 3 | Lecture 18](https://i0.wp.com/yogeshdotnet.com/wp-content/uploads/SQLLite_Python-update-delete-database-table.jpg?resize=600%2C400&ssl=1)
UPDATE and DELETE – SQLite3 with Python 3 | Lecture 18
Source Code import sqlite3 db = sqlite3.connect('ganesha.db') cursor = db.cursor() id1=2 name1 = 'AAA' # cursor.execute('update info3 set name = ? where id = ?',(name1,id1)) cursor.execute('delete from info3 where id = ?',(id1,)) db.commit()...
![Read from (SELECT) Database table – SQLite3 with Python 3](https://i0.wp.com/yogeshdotnet.com/wp-content/uploads/SQLLite_Python_Fetch_Database_Table_Records.jpg?resize=600%2C400&ssl=1)
Read from (SELECT) Database table – SQLite3 with Python 3
Source Code import sqlite3 db = sqlite3.connect('ganesha.db') cursor = db.cursor() id1 = 2 cursor.execute('select *from info3 where id=?',(id1,)) multiplerecord = cursor.fetchall() # print(singlerecord[1]) for row in multiplerecord: # print(row)...