Thursday, 26 October 2023

AP 12th Migration Certificate

https://www.getmyuni.com/articles/ap-migration-certificate https://bieap.apcfss.in/migrationnewsbi.do

Thursday, 12 October 2023

Bangalore to Vijayawada by Car route

Bangalore -> KR Puram -> Kolar -> Palamaner -> Chittoor -> Tirupathi -> Srikalahasti -> Naidupeta -> Nellore -> Ongole -> Guntur -> Vijayawada. ============================================================================================================================================= Kolar- Mulbagal- Palamaneru- Chittor- Pakala- Tirupathi- Nellore- Ongole- Guntur- Rajamundry ================================================================================================ Which is the best road route from Bangalore to Vijayawada? What is the best road way from Bangalore to Vijayawada? Bangalore -> Kolar -> Palamaner -> Chittoor -> Tirupathi -> Srikalahasti -> Naidupeta -> Nellore -> Ongole -> Guntur -> Vijayawada.

Tuesday, 26 September 2023

Azure Concepts Sep 2023

1. Azure App Service 2.Resource Group 3.Azure Functions 4.Azure Durable Functions 5.App Insights-Telemetry 6.Monitering 7.Service BUS 8.Logic apps 9.API Management 10.Azure AD -RBAC 11.Azure AD -Graph API 12.Azure AD -App Registration 13.Azure AD B2C Configuration - 15Oct2020 14.Blob Storage 15.Table Storage -File storage - Disk storage -Queue storage - Blob storage 16.Cosmos DB and Azure SQL and Radis Cache-Azure Data Lake Storage Gen2 16.Cosmos DB and Azure SQL and Radis Cache-Azure Data Lake Storage Gen2-LAP-RKT-0X96318 17.Event Grid 18.Event Hub 19.VM in Azure 20.Virtual Network-VNET 21.Subnet 22.Load Balancer 23.Data Factory in Azure (SSIS) 24.Azure Power Apps 25.Azure Cognitive Services + AI (Vision, Speech, Language, Decision, Search) 26.SendGrid 27.Azure Application Gateway 28.Azure API Gateway 29.Data Bricks 30.Dynamics 365 31.Azure Front Door 32.WebJobs in Azure App Service 33.Cloud Adaption Framework 34.Azure Adviser 35.Security Center 36.Microsoft Defender for Cloud 37.VM-Creation 38.BluePrint 39. AzureLandingZone 40.Azure Tags - Cost 41.Azure Sentinel 42.Azure Firewall 43.Architecture 44.Azure Charts 45.Azure Synapse Data Warehouse 46.Azure App Configuration 47.Azure Policy 48.Azure AD sync - Conditional Access 49.Azure Manage Identities 50.Azure Active Directory Domain Services 51.Azure Migrate 52.IoTHub-IoT-Devices-Monitering 53.Micro Services-Security-Azure AD 54.Kafka messages

Wednesday, 9 August 2023

JOSAA and CSAB 2023 Filled Choices

Filled Choices

Choice No Institute Academic Program

1 National Institute of Technology, Tiruchirappalli Computer Science and Engineering (4 Years, Bachelor of Technology)

2 National Institute of Technology Karnataka, Surathkal Computer Science and Engineering (4 Years, Bachelor of Technology)

3 National Institute of Technology Karnataka, Surathkal Information Technology (4 Years, Bachelor of Technology)

4 National Institute of Technology Karnataka, Surathkal Artificial Intelligence (4 Years, Bachelor of Technology)

5 National Institute of Technology Karnataka, Surathkal Computational and Data Science (4 Years, Bachelor of Technology)

6 National Institute of Technology, Warangal Computer Science and Engineering (4 Years, Bachelor of Technology)

7 National Institute of Technology, Rourkela Computer Science and Engineering (4 Years, Bachelor of Technology)

8 National Institute of Technology Calicut Computer Science and Engineering (4 Years, Bachelor of Technology)

9 Visvesvaraya National Institute of Technology, Nagpur Computer Science and Engineering (4 Years, Bachelor of Technology)

10 National Institute of Technology Goa Computer Science and Engineering (4 Years, Bachelor of Technology)

11 National Institute of Technology Durgapur Computer Science and Engineering (4 Years, Bachelor of Technology)

12 Sardar Vallabhbhai National Institute of Technology, Surat Computer Science and Engineering (4 Years, Bachelor of Technology)

13 Sardar Vallabhbhai National Institute of Technology, Surat Artificial Intelligence (4 Years, Bachelor of Technology)

14 National Institute of Technology, Andhra Pradesh Computer Science and Engineering (4 Years, Bachelor of Technology)

15 National Institute of Technology Puducherry Computer Science and Engineering (4 Years, Bachelor of Technology)

16 National Institute of Technology Delhi Computer Science and Engineering (4 Years, Bachelor of Technology)

17 National Institute of Technology Delhi Artificial Intelligence and Data Science (4 Years, Bachelor of Technology)

18 Indian Institute of Information Technology, Design & Manufacturing,

Kancheepuram

Computer Science and Engineering (4 Years, Bachelor of Technology)

19 Indian Institute of Information Technology, Design & Manufacturing,

Kancheepuram

Computer Science and Engineering with Major in Artificial Intelligence (4 Years,

Bachelor of Technology)

20 Indian Institute of Information Technology, Design & Manufacturing,

Kancheepuram

Computer Science and Engineering (5 Years, Bachelor and Master of Technology (Dual

Degree))

21 Indian Institute of Information Technology (IIIT), Sri City, Chittoor Computer Science and Engineering (4 Years, Bachelor of Technology)

22 Indian Institute of Information Technology (IIIT), Sri City, Chittoor Artificial Intelligence and Data Science (4 Years, Bachelor of Technology)

23 Indian Institute of Information Technology Design & Manufacturing

Kurnool, Andhra Pradesh

Computer Science and Engineering (4 Years, Bachelor of Technology)

24 Indian Institute of Information Technology Design & Manufacturing

Kurnool, Andhra Pradesh

Artificial Intelligence and Data Science (4 Years, Bachelor of Technology)

25 Indian Institute of Information Technology Design & Manufacturing

Kurnool, Andhra Pradesh

Computer Science and Engineering (5 Years, Bachelor and Master of Technology (Dual

Degree))

26 Indian Institute of Information Technology Tiruchirappalli Computer Science and Engineering (4 Years, Bachelor of Technology)

27 Indian Institute of Information Technology(IIIT) Dharwad Computer Science and Engineering (4 Years, Bachelor of Technology)

28 Indian Institute of Information Technology(IIIT) Dharwad Data Science and Artificial Intelligence (4 Years, Bachelor of Technology)

29 Indian institute of information technology, Raichur, Karnataka Computer Science and Engineering (4 Years, Bachelor of Technology)

30 Indian institute of information technology, Raichur, Karnataka Artificial Intelligence and Data Science (4 Years, Bachelor of Technology)

31 Indian Institute of Information Technology, Allahabad Information Technology (4 Years, Bachelor of Technology)

32 Indian Institute of Information Technology, Allahabad Information Technology-Business Informatics (4 Years, Bachelor of Technology)

33 Atal Bihari Vajpayee Indian Institute of Information Technology &

Management Gwalior

Computer Science and Engineering (4 Years, Bachelor of Technology)

34 Pt. Dwarka Prasad Mishra Indian Institute of Information Technology,

Design & Manufacture Jabalpur

Computer Science and Engineering (4 Years, Bachelor of Technology)

35 Indian Institute of Information Technology(IIIT) Kottayam Computer Science and Engineering (4 Years, Bachelor of Technology)

36 Indian Institute of Information Technology(IIIT) Kottayam Computer Science and Engineering with specialization in Artificial Intelligence and Data

Science (4 Years, Bachelor of Technology)

37 Indian Institute of Information Technology(IIIT) Kottayam Computer Science and Engineering with specialization in Cyber Security

 (4 Years, Bachelor of Technology)

38 Indian Institute of Information Technology (IIIT) Nagpur Computer Science and Engineering (4 Years, Bachelor of Technology)

39 Indian Institute of Information Technology (IIIT) Nagpur Computer Science Engineering (Artificial lntelligence and Machine Learning) (4 Years,

Bachelor of Technology)

40 Indian Institute of Information Technology (IIIT) Nagpur Computer Science Engineering (Data Science and Analytics) (4 Years, Bachelor of

Technology)

41 Indian Institute of Information Technology (IIIT) Nagpur Computer Science Engineering (Human Computer lnteraction and Gaming Technology)

(4 Years, Bachelor of Technology)

42 Indian Institute of Information Technology (IIIT) Pune Computer Science and Engineering (4 Years, Bachelor of Technology)

43 International Institute of Information Technology, Bhubaneswar Computer Science and Engineering (4 Years, Bachelor of Technology)

44 International Institute of Information Technology, Bhubaneswar Information Technology (4 Years, Bachelor of Technology)

45 International Institute of Information Technology, Bhubaneswar Computer Engineering (4 Years, Bachelor of Technology)

46 Indian Institute of Information Technology Surat Computer Science and Engineering (4 Years, Bachelor of Technology)

47 Motilal Nehru National Institute of Technology Allahabad Computer Science and Engineering (4 Years, Bachelor of Technology)

48 National Institute of Technology Patna Computer Science and Engineering (4 Years, Bachelor of Technology)

49 National Institute of Technology Patna Computer Science and Engineering with Specialization in Data Science (5 Years,

Bachelor and Master of Technology (Dual Degree))

50 National Institute of Technology Patna Computer Science and Engineering with Specialization in Cyber Security (5 Years,

Bachelor and Master of Technology (Dual Degree))

51 National Institute of Technology Raipur Computer Science and Engineering (4 Years, Bachelor of Technology)

52 National Institute of Technology Raipur Information Technology (4 Years, Bachelor of Technology)

53 International Institute of Information Technology, Naya Raipur Computer Science and Engineering (4 Years, Bachelor of Technology)

54 International Institute of Information Technology, Naya Raipur Data Science and Artificial Intelligence (4 Years, Bachelor of Technology)

55 Maulana Azad National Institute of Technology Bhopal Computer Science and Engineering (4 Years, Bachelor of Technology)

56 Indian Institute of Information Technology Bhopal Computer Science and Engineering (4 Years, Bachelor of Technology)

57 Indian Institute of Information Technology Bhopal Information Technology (4 Years, Bachelor of Technology)

58 National Institute of Technology, Jamshedpur Computer Science and Engineering (4 Years, Bachelor of Technology)

59 Malaviya National Institute of Technology Jaipur Computer Science and Engineering (4 Years, Bachelor of Technology)

60 Malaviya National Institute of Technology Jaipur Artificial Intelligence and Data Engineering (4 Years, Bachelor of Technology)

61 National Institute of Technology, Kurukshetra Computer Engineering (4 Years, Bachelor of Technology)

62 National Institute of Technology, Kurukshetra Information Technology (4 Years, Bachelor of Technology)

63 National Institute of Technology, Kurukshetra Artificial Intelligence and Machine Learning (4 Years, Bachelor of Technology)

64 National Institute of Technology, Kurukshetra Industrial Internet of Things (4 Years, Bachelor of Technology)

65 National Institute of Technology, Silchar Computer Science and Engineering (4 Years, Bachelor of Technology)

66 Indian Institute of Information Technology(IIIT), Vadodara, Gujrat Computer Science and Engineering (4 Years, Bachelor of Technology)

67 Indian Institute of Information Technology(IIIT), Vadodara, Gujrat Information Technology (4 Years, Bachelor of Technology)

68 Indian Institute of Information Technology, Vadodara International

Campus Diu (IIITVICD)

Computer Science and Engineering (4 Years, Bachelor of Technology)

69 Indian Institute of Information Technology(IIIT) Kalyani, West Bengal Computer Science and Engineering (4 Years, Bachelor of Technology)

70 Indian Institute of Information Technology Lucknow Computer Science (4 Years, Bachelor of Technology)

71 Indian Institute of Information Technology Lucknow Information Technology (4 Years, Bachelor of Technology)

72 Indian Institute of Information Technology Lucknow Computer Science and Artificial Intelligence (4 Years, Bachelor of Technology)

73 Indian Institute of Information Technology Lucknow Computer Science and Business (4 Years, Bachelor of Technology)

74 Indian Institute of Information Technology (IIIT) Ranchi Computer Science and Engineering (4 Years, Bachelor of Technology)

75 Indian Institute of Information Technology (IIIT) Ranchi Computer Science and Engineering (with Specialization of Data Science and Artificial

Intelligence)

 (4 Years, B. Tech / B. Tech (Hons.))

76 National Institute of Advanced Manufacturing Technology, Ranchi Computer Engineering (4 Years, Bachelor of Technology)

77 University of Hyderabad Computer Science and Engineering (5 Years, Bachelor and Master of Technology (Dual

Degree))

78 Puducherry Technological University, Puducherry Computer Science and Engineering (4 Years, Bachelor of Technology)

79 Puducherry Technological University, Puducherry Information Technology (4 Years, Bachelor of Technology)

80 Jawaharlal Nehru University, Delhi Computer Science and Engineering (4 Years, Bachelor of Technology)

81 Birla Institute of Technology, Mesra, Ranchi Computer Science and Engineering (4 Years, Bachelor of Technology)

82 Birla Institute of Technology, Mesra, Ranchi Artificial Intelligence and Machine Learning (4 Years, Bachelor of Technology)

83 Institute of Infrastructure, Technology, Research and ManagementAhmedabad

Computer Engineering (4 Years, Bachelor of Technology)

84 Institute of Technology, Guru Ghasidas Vishwavidyalaya (A Central

University), Bilaspur, (C.G.)

Computer Science and Engineering (4 Years, Bachelor of Technology)

85 Institute of Technology, Guru Ghasidas Vishwavidyalaya (A Central

University), Bilaspur, (C.G.)

Information Technology (4 Years, Bachelor of Technology)

86 J.K. Institute of Applied Physics & Technology, Department of Electronics

& Communication, University of Allahabad- Allahabad

Computer Science and Engineering (4 Years, Bachelor of Technology)

87 Chhattisgarh Swami Vivekanada Technical University, Bhilai (CSVTU

Bhilai)

Computer Science Engineering (Artificial Intelligence) (4 Years, B. Tech / B. Tech

(Hons.))

88 Chhattisgarh Swami Vivekanada Technical University, Bhilai (CSVTU

Bhilai)

Computer Science Engineering (Data Science) (4 Years, B. Tech / B. Tech (Hons.))

89 Ghani Khan Choudhary Institute of Engineering and Technology, Malda,

West Bengal

Computer Science Engineering (Artificial lntelligence and Machine Learning) (4 Years,

Bachelor of Technology)

90 Indian Institute of Engineering Science and Technology, Shibpur Computer Science and Engineering (4 Years, Bachelor of Technology)

91 Indian Institute of Engineering Science and Technology, Shibpur Information Technology (4 Years, Bachelor of Technology)


Tuesday, 6 June 2023

Josaa 2023 videos

   ================== https://josaa.nic.in/how-to-register-and-login/ https://josaa.nic.in/Counseling/Registration/Registration.aspx https://josaa.nic.in/Counseling/Root/CandidateLogin.aspx https://josaa.nic.in/how-to-pay-seat-acceptance-fee/ https://josaa.nic.in https://csab.nic.in Take printout of final choice filling. https://www.youtube.com/watch?v=QfXNWgK2aOo (rules OBC to General) https://www.youtube.com/watch?v=97neR5HNS08 (Registration and Choice Filling) https://www.youtube.com/watch?v=hAPd1yYa9yM (Seat Allotement Result and Upload docs) https://www.youtube.com/watch?v=8D0muYubVtQ (Seat Acceptance for first allocated seat ) https://www.youtube.com/watch?v=KVS0Yp830H8 (Seat Acceptance for first allocated seat ) https://www.youtube.com/watch?v=uFYqM3Y-14U (Freeze, Float, Slide) https://www.youtube.com/watch?v=7X56vdIEc74 (Print Lock choice Letter) https://www.youtube.com/watch?v=7-ffiX0IGU8 (Payment) https://www.youtube.com/watch?v=ozOMCFgCjG0 (Payment) https://www.youtube.com/watch?v=VkyuaAQh8s8 (Mock Seat Allotment) https://www.youtube.com/watch?v=gU8MNswo24s (All about Physical Reporting in NIT Calicut) (Tiruchirappalli)(Surathkal)(Warangal) https://www.youtube.com/watch?v=ASjR98XnNKw ( Physical Reporting in NIT) https://www.youtube.com/watch?v=P25MJsT5nNA ( Physical Reporting in NIT) https://youtu.be/0F3f7FCLCQ0 (Phani Sir) When do we have to report physically to our admitting college after the JoSAA counselling? Scenario 3: In first round you are alloted a seat in NIT+ you need to report at any of NIT+ RC and verify docs. Say in Round three you are alloted IIT, then you should again go to IIT RC and verify your documents. =========================================== https://www.youtube.com/watch?v=97neR5HNS08 Take printout of final choice filling. https://www.youtube.com/watch?v=hAPd1yYa9yM https://www.youtube.com/watch?v=8D0muYubVtQ https://youtu.be/0F3f7FCLCQ0 http://josaa.admissions.nic.in/Counseling/seatallotmentresult/currentorcr.aspx https://josaa.admissions.nic.in/Result/Result/OpeningClosingRankArchieve.aspx ADMISSION SERVICES (https://josaa.nic.in) 1.Registration 2.Choice Filling and Locking 3.Seat Allotment 4.Online Fee Payment 5.Provisional Alottment letter(S) 6.Reporting =========================================================================================================== NIT Documents required during physical verfication 1)Provisional JoSAA Seat Allotment Letter 2022 2)Three passport-size photographs similar to one uploaded in JEE Main 2022 application form 3)Candidate Undertaking 4)Proof of Seat Acceptance Fee Payment by e-challan or Internet Banking through SBI 5)JEE Main Score Card 2022 6)JEE Main Admit Card 2022 7)Class 10th Standard Mark Sheet or Date of Birth Proof 8)Class 12 (or equivalent) Mark Sheet and Pass Certificate 9)Valid photo Identity Card 10)Medical Certificate 11)Category Certificate (if applicable) 12)Registration and Filled Choices for Seat Allotment ===================================================== Print out below docs 12)Registration and Filled Choices for Seat Allotment (Print Lock Choices Letter ) 1)Provisional JoSAA Seat Allotment Letter 2022 3)Candidate Undertaking 4)Proof of Seat Acceptance Fee Payment by e-challan or Internet Banking through SBI

============================================================== 

Monday, 26 December 2022

AZ - 305 Reference

 https://www.examtopics.com/exams/microsoft/az-305/ 


https://free-braindumps.com/microsoft/free-az-305-braindumps.html?p=2 


https://learn.microsoft.com/en-us/certifications/exams/az-305

Thursday, 8 September 2022

Sql server and Design pattern

SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: Manoj Kalla -- Create date: 18th Nov 2017 -- Description: Return all members -- ============================================= --Store procedure name is --> stpGetAllMembers CREATE PROCEDURE stpGetAllMembers AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; -- Select statements for procedure here Select * from tblMembers END GO =========================================================Table CREATE TABLE table_name ( column1 datatype, column2 datatype, column3 datatype, .... ); ================================================================Table Variable DECLARE @ListOWeekDays TABLE ( DyNumber INT, DayAbb VARCHAR(40) , WeekName VARCHAR(40) ) INSERT INTO @ListOWeekDays VALUES (1,'Mon','Monday') , (2,'Tue','Tuesday') , (3,'Wed','Wednesday') , (4,'Thu','Thursday'), (5,'Fri','Friday'), (6,'Sat','Saturday'), (7,'Sun','Sunday') SELECT * FROM @ListOWeekDays ====================================================================== Let's take a look at a CTE example to drive this home: WITH Simple_CTE AS ( SELECT dd.CalendarYear ,fs.OrderDateKey ,fs.ProductKey ,fs.OrderQuantity * fs.UnitPrice AS TotalSale ,dc.FirstName ,dc.LastName FROM [dbo].[FactInternetSales] fs INNER JOIN [dbo].[DimCustomer] dc ON dc.CustomerKey = fs.CustomerKey INNER JOIN [dbo].[DimDate] dd ON dd.DateKey = fs.OrderDateKey ) SELECT * FROM Simple_CTE =================================================================== There are two main types of user-defined functions in SQL based on the data they return: Scalar functions: These types of functions return a single value, i.e float, int, varchar, datetime, etc. Table-Valued functions: These functions return tables. Below is the definition of a simple function. It takes in two numbers and returns their sum. Since this function returns a number, it is a scalar function. CREATE FUNCTION scalar_func ( @a AS INT, -- parameter a @b AS INT -- parameter b ) RETURNS INT -- return type AS BEGIN RETURN @a + @b -- return statement END; -------------------- CREATE FUNCTION table_valued_func() RETURNS TABLE AS RETURN -- statement to calculate sum SELECT num1 , num2, num1 + num2 AS 'SUM' FROM TEST; =================================================================== The following FOR trigger fires on the INSERT operation on the Employee table. CREATE TRIGGER dbo.trgEmployeeInsert ON dbo.Employee FOR INSERT AS INSERT INTO dbo.EmpLog(EmpID, Operation, UpdatedDate) SELECT EmployeeID ,'INSERT',GETDATE() FROM INSERTED; --virtual table INSERTED ========================================================== CREATE VIEW EmployeeRecords AS SELECT * FROM [HumanResources].[Employee]; ========================================================= A SQL Server cursor is a set of T-SQL logic to loop over a predetermined number of rows one at a time. The purpose for the cursor may be to update one row at a time or perform an administrative process such as SQL Server database backups in a sequential manner. ================================================ Factory Design pattern: using System; namespace GarbageCollectionDemo { class Program { static void Main(string[] args) { Console.WriteLine("Transaction doing SBI Bank"); IBank sbi = BankFactory.GetBankObject("SBI"); sbi.ValidateCard(); sbi.WithdrawMoney(); sbi.CheckBalanace(); sbi.BankTransfer(); sbi.MiniStatement(); Console.WriteLine("\nTransaction doing AXIX Bank"); IBank AXIX = BankFactory.GetBankObject("AXIX"); AXIX.ValidateCard(); AXIX.WithdrawMoney(); AXIX.CheckBalanace(); AXIX.BankTransfer(); AXIX.MiniStatement(); Console.Read(); } } public interface IBank { void ValidateCard(); void WithdrawMoney(); void CheckBalanace(); void BankTransfer(); void MiniStatement(); } public class BankFactory { public static IBank GetBankObject(string bankType) { IBank BankObject = null; if (bankType == "SBI") { BankObject = new SBI(); } else if (bankType == "AXIX") { BankObject = new AXIX(); } return BankObject; } } public class SBI : IBank { public void BankTransfer() { Console.WriteLine("SBI Bank Bank Transfer"); } public void CheckBalanace() { Console.WriteLine("SBI Bank Check Balanace"); } public void MiniStatement() { Console.WriteLine("SBI Bank Mini Statement"); } public void ValidateCard() { Console.WriteLine("SBI Bank Validate Card"); } public void WithdrawMoney() { Console.WriteLine("SBI Bank Withdraw Money"); } } public class AXIX : IBank { public void BankTransfer() { Console.WriteLine("AXIX Bank Bank Transfer"); } public void CheckBalanace() { Console.WriteLine("AXIX Bank Check Balanace"); } public void MiniStatement() { Console.WriteLine("AXIX Bank Mini Statement"); } public void ValidateCard() { Console.WriteLine("AXIX Bank Validate Card"); } public void WithdrawMoney() { Console.WriteLine("AXIX Bank Withdraw Money"); } } } =========================================================Abstract Factory Design pattern using System; namespace GarbageCollectionDemo { class Program { static void Main(string[] args) { Console.WriteLine("Transaction doing SBI Bank"); IBank sbi = BankFactory.GetBankObject("SBI"); sbi.ValidateCard(); sbi.WithdrawMoney(); sbi.CheckBalanace(); sbi.BankTransfer(); sbi.MiniStatement(); Console.WriteLine("\nTransaction doing AXIX Bank"); IBank AXIX = BankFactory.GetBankObject("AXIX"); AXIX.ValidateCard(); AXIX.WithdrawMoney(); AXIX.CheckBalanace(); AXIX.BankTransfer(); AXIX.MiniStatement(); Console.Read(); } } public abstract class IBank { public abstract void ValidateCard(); public abstract void WithdrawMoney(); public abstract void CheckBalanace(); public abstract void BankTransfer(); public abstract void MiniStatement(); } public class BankFactory { public static IBank GetBankObject(string bankType) { IBank BankObject = null; if (bankType == "SBI") { BankObject = new SBI(); } else if (bankType == "AXIX") { BankObject = new AXIX(); } return BankObject; } } public class SBI : IBank { public override void BankTransfer() { Console.WriteLine("SBI Bank Bank Transfer"); } public override void CheckBalanace() { Console.WriteLine("SBI Bank Check Balanace"); } public override void MiniStatement() { Console.WriteLine("SBI Bank Mini Statement"); } public override void ValidateCard() { Console.WriteLine("SBI Bank Validate Card"); } public override void WithdrawMoney() { Console.WriteLine("SBI Bank Withdraw Money"); } } public class AXIX : IBank { public override void BankTransfer() { Console.WriteLine("AXIX Bank Bank Transfer"); } public override void CheckBalanace() { Console.WriteLine("AXIX Bank Check Balanace"); } public override void MiniStatement() { Console.WriteLine("AXIX Bank Mini Statement"); } public override void ValidateCard() { Console.WriteLine("AXIX Bank Validate Card"); } public override void WithdrawMoney() { Console.WriteLine("AXIX Bank Withdraw Money"); } } } ======================================================================Singleton1 Design pattern public sealed class Singleton1 { private Singleton1() {} private static Singleton1 instance = null; public static Singleton1 Instance { get { if (instance == null) { instance = new Singleton1(); } return instance; } } } ======================================================================== namespace RepositoryUsingEFinMVC.GenericRepository { public class GenericRepository : IGenericRepository where T : class { public EmployeeDBContext _context = null; public DbSet table = null; public GenericRepository() { this._context = new EmployeeDBContext(); table = _context.Set(); } public GenericRepository(EmployeeDBContext _context) { this._context = _context; table = _context.Set(); } public IEnumerable GetAll() { return table.ToList(); } public T GetById(object id) { return table.Find(id); } public void Insert(T obj) { table.Add(obj); } public void Update(T obj) { table.Attach(obj); _context.Entry(obj).State = EntityState.Modified; } public void Delete(object id) { T existing = table.Find(id); table.Remove(existing); } public void Save() { _context.SaveChanges(); } } }