Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Expert VB 2005 Business Objects Second Edition phần 6
Đang chuẩn bị liên kết để tải về tài liệu:
Expert VB 2005 Business Objects Second Edition phần 6
Liên Kiệt
43
69
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Dựa trên các nhà phát triển kinh doanh để chỉ ra khi một đối tượng đã được thay đổi và do đó đã trở thành bẩn . Tình trạng hiện tại của giá trị làNó có thể là một số các lớp học phải được khởi tạo như các đối tượng gốc một số trường hợp và là đối tượng trẻ em vào những người khác. | 322 CHAPTER 5 COMPLETING THE FRAMEWORK The Nullable property is a bit more complex however because it is sometimes possible to detect that a property is nullable even without the use of the DataObjectField attribute. This is due to the nullable support built into .NET 2.0 Public Readonly Property Nullable As Boolean _ Implements System.Web.UI.Design.IDataSourceFieldSchema.Nullable Get Dim t As Type Me.mField.PropertyType If Not t.IsValueType orElse mIsNullable Then Return True End If If t.IsGenericType Then Return t.GetGenericTypeDefinition Is GetType Nullable End If Return False End Get End Property A property can be nullable if it is a reference type or if mIsNullable is True. It can also be nullable if the property is declared using the Nullable Of T generic type. Other Property Information The IDataSourceFieldSchema interface defines other properties as well. Some of these properties have little meaning for a business object. For instance there s no way to determine meaningful values for Scale and Precision based on a business object s property so these just return -1 Public ReadOnly Property Scale As Integer _ Implements System.Web.UI.Design.IDataSourceFieldSchema.Scale Get Return -1 End Get End Property Other properties can be determined based on information from the PropertyDescriptor object passed into the ObjectFieldInfo constructor. That PropertyDescriptor object provides information about the specific business object property. The property s name for instance can be directly retrieved Public ReadOnly Property Name As String _ Implements System.Web.UI.Design.IDataSourceFieldSchema.Name Get Return mField.Name End Get End Property Getting the Property s Data Type The DataType property is a bit complex. It must deal with the possibility that the business object s property was declared with the Nullable Of T generic type. Fortunately the Utilities. GetPropertyType method discussed earlier in the chapter deals with that case so it is called to ensure that the
TÀI LIỆU LIÊN QUAN
Visual Basic 2005 Programmer's Reference
Expert VB 2005 Business Objects Second Edition phần 1
Expert VB 2005 Business Objects Second Edition phần 2
Expert VB 2005 Business Objects Second Edition phần 3
Expert VB 2005 Business Objects Second Edition phần 4
Expert VB 2005 Business Objects Second Edition phần 5
Expert VB 2005 Business Objects Second Edition phần 6
Expert VB 2005 Business Objects Second Edition phần 7
Expert VB 2005 Business Objects Second Edition phần 8
Expert VB 2005 Business Objects Second Edition phần 9
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.