官术网_书友最值得收藏!

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Finally, it comes to the FileEntity class."

A block of code is set as follows:

public partial class InitSession : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session.Count == 0)
{
Session.Add("string item", "some text");
Session.Add("int item", 120);
Session.Add("boolean item", true);
Session.Add("date item", DateTime.Now);
Session.Add("array item", new int[]{1,2,3});
}
}
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

namespace ODataEFService
{
public class NWDataService : DataService< ODataEFService.NorthwindEntities >
{
public static void InitializeService(DataServiceConfiguration config)
{
config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2;
config.SetEntitySetAccessRule ("*", EntitySetRights.All);
}
}
}

Any command-line input or output is written as follows:

DataSvcUtil.exe /in:Northwind.edmx /out:NWDataServiceProxy.cs

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Specify the necessary publish options in the Publish Web dialog."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 奉贤区| 教育| 汕尾市| 饶平县| 巨鹿县| 咸宁市| 扎兰屯市| 扎囊县| 鞍山市| 合肥市| 南岸区| 安陆市| 彰化县| 丰县| 宜丰县| 平舆县| 忻城县| 自贡市| 桑日县| 灵川县| 惠州市| 浑源县| 故城县| 金平| 彝良县| 井研县| 乐清市| 阿拉善左旗| 徐汇区| 永嘉县| 榆林市| 安龙县| 荣昌县| 孟津县| 临安市| 临洮县| 贵南县| 休宁县| 隆德县| 平原县| 阜新|