init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
namespace Zhaizj.Framework.ORM {
|
||||
|
||||
/// <summary>
|
||||
/// Êý¾Ý¿âÅú×¢
|
||||
/// </summary>
|
||||
[Serializable, AttributeUsage( AttributeTargets.Class )]
|
||||
public class DatabaseAttribute : Attribute {
|
||||
|
||||
private String _dbName;
|
||||
|
||||
public DatabaseAttribute( String dbName ) {
|
||||
_dbName = dbName;
|
||||
}
|
||||
|
||||
|
||||
public String Database {
|
||||
get {
|
||||
return _dbName;
|
||||
}
|
||||
set {
|
||||
_dbName = value;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user