• 大小: 0.28M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: C#  c  ORM  

资源简介

一个介绍ORM的demo.

资源截图

代码片段和文件信息

/*----------------------------------------------------------------
 * 作者:王清培
 * 时间:2010-10-29
 * ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Text;

namespace W.Data
{
    /// 
    ///  指定该属性是否是Table中的主键
    /// 

    [AttributeUsage(AttributeTargets.Property AllowMultiple = false Inherited = false)]
    public class ColumnAttribute : Attribute
    {
        /// 
        /// 是否是主键
        /// 

        private bool _isprimary;
        /// 
        /// 是否自增长
        /// 

        private bool _isidentity;
        /// 
        /// 是否是主键
        /// 

        public bool IsPrimary
        {
            get { r

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      44544  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\bin\Debug\X.CommandLib.dll

     文件     112128  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\bin\Debug\X.CommandLib.pdb

    ..A..H.     61440  2010-12-02 14:06  CommandLib\CommandLib\CommandLib\CommandLib\CommandLib.suo

     文件        596  2010-10-29 10:23  CommandLib\CommandLib\CommandLib\CommandLib_key.snk

     文件       1229  2011-05-17 10:19  CommandLib\CommandLib\CommandLib\Data\ColumnAttribute.cs

     文件        471  2010-10-30 08:04  CommandLib\CommandLib\CommandLib\Data\DataSourceType.cs

     文件       2817  2011-01-23 15:46  CommandLib\CommandLib\CommandLib\Data\IDataParameterFactory.cs

     文件       6930  2010-11-20 14:03  CommandLib\CommandLib\CommandLib\Data\IDataSourceType.cs

     文件       5046  2011-05-17 11:05  CommandLib\CommandLib\CommandLib\Data\IDataSourceTypeFactory.cs

     文件      13077  2011-05-17 09:59  CommandLib\CommandLib\CommandLib\Data\OledbSource.cs

     文件      13098  2011-05-17 09:59  CommandLib\CommandLib\CommandLib\Data\OraclSource.cs

     文件      27207  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\Data\ORMHelper.cs

     文件      13020  2011-05-17 11:05  CommandLib\CommandLib\CommandLib\Data\SQLServerSource.cs

     文件        458  2010-11-12 21:17  CommandLib\CommandLib\CommandLib\Data\TableActionType.cs

     文件        912  2010-10-30 18:04  CommandLib\CommandLib\CommandLib\Data\TableAttribute.cs

     文件       2730  2010-11-27 14:34  CommandLib\CommandLib\CommandLib\Image\filelog..png

     文件       2680  2011-01-06 14:31  CommandLib\CommandLib\CommandLib\obj\Debug\CommandLib.csproj.FileListAbsolute.txt

     文件       1089  2011-01-06 14:31  CommandLib\CommandLib\CommandLib\obj\Debug\CommandLib.csproj.GenerateResource.Cache

     文件      13312  2011-01-23 14:27  CommandLib\CommandLib\CommandLib\obj\Debug\Refactor\CommandLib.dll

     文件       4608  2010-11-27 14:36  CommandLib\CommandLib\CommandLib\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件       3951  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\obj\Debug\W.Properties.Resources.resources

     文件        180  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\obj\Debug\W.Winform.AddInControl.resources

     文件        180  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\obj\Debug\W.Winform.AddInControlList.resources

     文件        180  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\obj\Debug\W.Winform.AddInControlShowInfo.resources

     文件        180  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\obj\Debug\W.Winform.PageSize.resources

     文件       2269  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\obj\Debug\X.CommandLib.csproj.FileListAbsolute.txt

     文件       1089  2011-04-22 14:37  CommandLib\CommandLib\CommandLib\obj\Debug\X.CommandLib.csproj.GenerateResource.Cache

     文件      44544  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\obj\Debug\X.CommandLib.dll

     文件     112128  2011-05-17 14:24  CommandLib\CommandLib\CommandLib\obj\Debug\X.CommandLib.pdb

     文件       1370  2011-01-23 15:46  CommandLib\CommandLib\CommandLib\Properties\AssemblyInfo.cs

............此处省略94个文件信息

评论

共有 条评论