refactoring names in the DataAccess data model
This commit is contained in:
parent
e540aed51c
commit
ffebb9141c
6 changed files with 26 additions and 26 deletions
|
|
@ -47,7 +47,7 @@ namespace Yavsc.Model.Admin
|
|||
/// Gets or sets the dbname.
|
||||
/// </summary>
|
||||
/// <value>The dbname.</value>
|
||||
public string Dbname {
|
||||
public string DbName {
|
||||
get {
|
||||
return dbname;
|
||||
}
|
||||
|
|
@ -62,7 +62,7 @@ namespace Yavsc.Model.Admin
|
|||
/// Gets or sets the dbuser.
|
||||
/// </summary>
|
||||
/// <value>The dbuser.</value>
|
||||
public string Dbuser {
|
||||
public string DbUser {
|
||||
get {
|
||||
return dbuser;
|
||||
}
|
||||
|
|
@ -101,7 +101,7 @@ namespace Yavsc.Model.Admin
|
|||
/// </summary>
|
||||
/// <returns>The string.</returns>
|
||||
public string ConnectionString { get { return string.Format ("Server={0};Port={1};Database={2};User Id={3};Password={4};Encoding=Unicode;",
|
||||
Host, Port, Dbname, Dbuser, Password); } }
|
||||
Host, Port, DbName, DbUser, Password); } }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Yavsc.Admin
|
||||
namespace Yavsc.Model.Admin
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue