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); }
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); }
partial void UpdatetblLog(tblLog instance);
partial void DeletetblLog(tblLog instance);
partial void InserttblLog(tblLog instance);