📄 html.cs
字号:
using System;
using System.Collections.Generic;
using System.Web;
namespace DNNLite.DesktopModules.HTML
{
using Castle.ActiveRecord;
using NHibernate.Exceptions;
/// <summary>
///HTML内容的实体类
/// </summary>
[ActiveRecord(DynamicUpdate=true)]public class HTML:ActiveRecordBase<HTML>
{
private int _id;
/// <summary>
/// Id
/// </summary>
[PrimaryKey( PrimaryKeyType.Native )]
public int id { get { return _id; } set {_id=value ;} }
private Guid _key;
/// <summary>
/// 唯一键值Key
/// </summary>
[Property(Update=false)]
public Guid keyId { get { return _key; } set { _key = value; } }
private int _tabmoduleid;
/// <summary>
/// 所在页面模块
/// </summary>
[Property()]
public int TabModuleId { get { return _tabmoduleid; } set {_tabmoduleid=value ;} }
private string _content;
/// <summary>
/// 内容
/// </summary>
[Property(Length=100000)]
public string Content { get { return _content; } set { _content=value ;} }
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -