public List<personmodel> GetPerson_All() { List<personmodel> output ; using (IDbConnection connection = new System.Data.SqlClient.SqlConnection(GlobalConfig.CnnString("Tournaments"))) { output = connection.Query<personmodel>("dbo.spPeopleNew_GetAll").ToList(); } return output; }
ALTER PROCEDURE [dbo].[spPeopleNew_GetAll] AS SET NOCOUNT ON -- Insert statements for procedure here SELECT * from dbo.tblPeopleNew
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)