Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Kiron Roy kironroy

🎯
Focusing
Block or report user

Report or block kironroy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Program.cs
using Microsoft.Extensions.Configuration;
using System;
using System.IO;
using DataAccessLibrary;
using DataAccessLibrary.Models;
namespace SQLServerUI
{
class Program
{
View SqlCRUD
using DataAccessLibrary.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DataAccessLibrary
{
// this class will use the SQLDataAccess.cs
View SqlDataAccess.cs
using Dapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
namespace DataAccessLibrary
{
View sql.txt
-- inner join: only the records that match
-- left join: all the records from the left table, and all the matching records from the right table
-- right join: all the records from the right table, and all the matching records from the left table
select c.CompanyName, l.City
from dbo.Customers c
left join dbo.Locations l on c.id = l.CustomerId
View gist:75485a205fe33022b2966810cd444c56
![c sharp logo](https://kironroy.github.io/c_sharp.svg)
---
<a href="https://dev.to/kironroy">
<img src="https://d2fltix0v2e0sb.cloudfront.net/dev-badge.svg" alt="Kiron Roy's DEV Profile" height="40" width="40">
</a>
@kironroy
kironroy / RazorPractice.cshtml
Created Oct 26, 2019
Razor Syntax practice
View RazorPractice.cshtml
@* https://stackoverflow.com/questions/6286868/convert-month-int-to-month-name/6286910 *@
@* https://blogs.msdn.microsoft.com/timlee/2010/07/30/using-functions-in-an-asp-net-page-with-razor-syntax/ *@
@{
ViewData["Title"] = "RazorPractice";
}
<h1>Razor Practice</h1>
View AbstractClass.cs
using System;
namespace CoreyAbstractClassHW
{
class Program
{
static void Main(string[] args)
{
Pliers pliers = new Pliers
{
View main.cs
using System;
using System.Globalization;
namespace CSharpQuiz
{
class Program
{
static void Main(string[] args)
{
You can’t perform that action at this time.