Cats.Models.Hubs.Audit.HasUpdated C# (CSharp) 메소드

HasUpdated() 공개 정적인 메소드

Determines whether the specified id has updated.
public static HasUpdated ( int id, string table ) : bool
id int The id.
table string The table.
리턴 bool
        public static bool HasUpdated(int id, string table)
        {
            //todo:refactor
            //CTSContext db = new CTSContext();
            //var count = (from audit in db.Audits
            //             where audit.TableName == table && audit.PrimaryKey == id.ToString()
            //             select audit).Count();
            //return (count > 0);
            return false;
        }

Same methods

Audit::HasUpdated ( object id, string table, string property ) : bool