Posts

Showing posts from June, 2018

Basic Sample Application Implementation in .Net Core using c# and Entity Frame work

Image
First of all you will select .Net core in visual studio Template. After that you may create your own  View . Before creating the view ,you may add Create Data base and Tables . CREATE TABLE [dbo].[BaseMaster]( [Id] [uniqueidentifier] NOT NULL, [Name] [nvarchar](500) NULL, [Address] [nvarchar](1000) NULL, [Phone] [nvarchar](20) NULL, [Email] [nvarchar](50) NULL, [TimeStamp] [datetime] NULL DEFAULT (getdate()), PRIMARY KEY CLUSTERED ( [Id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] Then Insert some data to the table Using below queries insert into BaseMaster values(newid(),'Test1', 'Hyderabad','040-0000000','sree@aaa.com'); insert into BaseMaster values(newid(),'Test2', 'Hyderabad','040-0000000','nivas@aaa.com'); then Create Models a/ Entities for your tables in Datab...