SunSonic 3.0 ORM open-source framework learning, sunsonicorm
Introduction to SubSonic 3.0
The SubSonic3.0 ORM framework was introduced to the series of C # frameworks (links here) developed by AllEmpty from scratch. The content of this article comes
Use C # To implement file lock,
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO;namespace
C # basic knowledge and insight-passing parameters through Functions1. A function and a function call are used to pass parameters in the original function. Copy the code static void Main (string [] args) {int num = 10; Test (num); // assign a value
C # create a message Interceptor (intercept) 4
Okay. The Interceptor is basically constructed. Let's show you how to use it.
Pay attention to one problem. If we want to intercept the object interceptor, we have to do something on the class to
Set {Variable = value;} get {return variable;}, valuereturn
Shape:
Public string _ customValue{Set {_ customValue = value ;}Get {return _ customValue ;}}
This is an attribute used to encapsulate fields. Generally, fields in the class are private,
Inconvenience caused by hibernate joint primary key (transfer) and hibernate
Note the following when using the hibernate joint primary key:1. First, write the Union primary key in the ing file,Example:Java code
The label in the
C # basic knowledge --------- C # Notes1. What is a variable? We call the variable The amount of value that can be changed. 2. Declaration of variables: Syntax: [access modifier] data type variable name; for example: int number = 10; // declares an
Write your own Socket framework (1). socket framework
This series only introduces the C # asynchronous Socket framework that can be used in the production environment. If you see similar code elsewhere, don't be surprised. It may be that when I
Three implementations of Singleton -- C #Traditional double check:
public sealed class Singleton{ private static Singleton instance = null; private static readonly object padlock = new object(); Singleton() { } public static
DataReader. Close timeout exception caused by big data, timeout exception
A company's data grabbing program has a large amount of data. The IDataReader's Read method is used for data processing,During the test, I want to run part of the data and
?? Operator (C # reference ),
?? An operator is a null merge operator that defines the types that can be null values and the default values of reference types. If the left operand of this operator is not null, this operator returns the left operand;
Recursively display all files and folders in the target folder, calculate the size of the target folder, and recursively
A typical recursive application is to traverse the target folder, print or display all the files and folders in the folder, and
Six principles of design mode (4)-six principles of interface isolation and Design Mode
Definition:
The client should not rely on interfaces that it does not need; the dependency between classes should be built on the smallest interface. The
Six principles of the design model (2)-the principle of the replacement of Lishi and the six major design models
Definition:
Objects in a program should be replaced by its subclass without changing the program's correctness. That is to say, all
C # project architecture construction experienceRead. in the. Net project, I felt that the code was well written (Note 1): bbsMax (unfortunately, it seems like the birds have disappeared), Umbraco (a foreign open-source cms project ), kooboo (Open
C # the problem that the clipboard cannot be called between threads
Recently, a project used threads and clipboard. After creating a subthread, I found that no data was obtained on the clipboard in the subthread. At that time, I was particularly
C # basic reflection knowledge and practical applicationFirst, what is reflection? Reflection provides an object that encapsulates the Assembly, module, and Type (Type). You can use reflection to dynamically create an instance of the Type, bind the
C # How does WinForm integrate and load multiple forms in the tab?
To avoid the trouble of selecting from the menu, you need to integrate several forms and switch through the TabControl option card. This function is similar to loading a form to a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service