예제 #1
0
        public tblLog Map()
        {
            tblLog ret = new tblLog();

            ret.Application  = this.Application;
            ret.CreationDate = Convert.ToDateTime(this.CreationDate);
            ret.Description  = this.Description;
            ret.ID           = this.ID;
            ret.IpAddress    = this.IpAddress;
            ret.JsonData     = this.JsonData;
            ret.Parent       = Convert.ToInt64(this.Parent);
            ret.Title        = this.Title;
            ret.XmlData      = this.XmlData;
            ret.MethodName   = this.MethodName;
            ret.StackTrace   = this.StackTrace;
            return(ret);
        }
예제 #2
0
        public static Log Map(tblLog log)
        {
            if (log == null)
            {
                return(null);
            }
            Log ret = new Log();

            ret.Application  = log.Application;
            ret.CreationDate = Convert.ToDateTime(log.CreationDate);
            ret.Description  = log.Description;
            ret.ID           = log.ID;
            ret.IpAddress    = log.IpAddress;
            ret.JsonData     = log.JsonData;
            ret.Parent       = Convert.ToInt64(log.Parent);
            ret.Title        = log.Title;
            ret.XmlData      = log.XmlData;
            ret.MethodName   = log.MethodName;
            ret.StackTrace   = log.StackTrace;
            return(ret);
        }
예제 #3
0
 partial void UpdatetblLog(tblLog instance);
예제 #4
0
 partial void DeletetblLog(tblLog instance);
예제 #5
0
 partial void InserttblLog(tblLog instance);