/// <summary> /// ���캯�� /// </summary> /// <param name="name">����������</param> /// <param name="address">��������ַ</param> /// <param name="username">�û���</param> /// <param name="password">����</param> /// <param name="audhorityType">��֤��ʽ 0��windows��֤��1��Sql Server ��֤</param> public Server(string name, string address, string username, string password, int audhorityType) { this.name = name; this.address = address; this.username = username; this.password = password; this.authorityType = audhorityType; this.databases = null; }
public RegistrationStaff(IDatabases vobjDataBase) { this.objDatabase = vobjDataBase; if (this.objDatabase is ISQLDatabase) { Console.WriteLine(((ISQLDatabase)this.objDatabase).GetEmployeeId()); } }
private string username; // �û��� #endregion Fields #region Constructors /// <summary> /// Ĭ�Ϲ��캯�� /// </summary> public Server() { this.name = string.Empty; this.address = string.Empty; this.username = string.Empty; this.password = string.Empty; this.authorityType = 0; this.databases = null; }