原创 CSharp: Relational mapping in donet using Entity Framework

 sql script --dbo.Students --Id int identity --Name --Age byte --CreatedTime date -- ModifiedTime date IF EXISTS (sele

原创 CSharp: Collection

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; na

原创 CSharp: Sort

  Bubble Sort冒泡排序Selection Sort選擇排序Insertion Sort插入排序Quick Sort快速排序Shell Sort 希爾排序Merge Sort 歸併排序Heap Sort 堆排序Bucket Sor

原创 CSharp: Add,Edit,Del,Select in donet using Entity Framework

  using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Runtime.Rem

原创 JavaScript: div,textarea set or get value

<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.

原创 CSharp: emojione

  /// <summary> /// mysql 數據庫用編碼類型 utf8mb4 /// 向sqlserver 數據庫插入emoji 表情包 /// 插入emoji 的數

原创 javascript: node.js

  const http=require("http"); http.createServer(function (request,response){ response.writeHead(200,{'Content-type'

原创 SVG click event Designs

<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.

原创 CSharp: Lazy Load Pattern in donet core 6

  using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;

原创 CSharp: Unit of Work Pattern in donet core 6

  using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;

原创 CSharp: Observer Pattern in donet core 6

  using Geovin.Du.DuObserver.DuNewspaper.Publishers.Common; using Geovin.Du.DuObserver.DuNewspaper.Subscribers.Common;

原创 CSharp: Memento Pattern in donet core 6

  using Geovin.Du.DuMemento.Conceptual; using System; using System.Collections.Generic; using System.Linq; using System

原创 CSharp: Mediator Pattern in donet core 6

  /// <summary> /// 中介者模式 Mediator Pattern 亦稱: 調解人、控制器、Intermediary、Controller、Mediator /// </summary> publ

原创 CSharp: Chain of Responsibility Pattern in donet core 6

  using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;

原创 CSharp: Proxy Pattern in donet.core 6.0

  using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System