⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customer.vb

📁 vb.net MCP课程的英文讲义,70-310课程,值得一读
💻 VB
字号:
' Static Model


Public Class Customer

	Public Email As String

	Public Password As String

	Public FirstName As String

	Public LastName As String

	Public Address As String

	Public Company As String

	Private CustomerID As Integer

	' Attempts to login a customer and retrieve their details based on e-mail address and password.
	Public Function LogOn (ByVal Email As String, _
						ByVal Password As String) As Boolean
		
	End Function

	' Adds a new customer to the database based on the input parameters.
	Public Function AddCustomer (ByVal Email As String, _
							  ByVal Password As String, _
							  ByVal FirstName As String, _
							  ByVal LastName As String, _
							  ByVal Company As String, _
							  ByVal Address As String) As Integer
		
	End Function

	' Returns the customer details based on the CustomerId received.
	Public Sub GetDetails (ByVal CustomerID As Integer)
		
	End Sub

End Class ' END CLASS DEFINITION Customer

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -