Exemplo n.º 1
0
 public void AddRow(API.Business.Row row)
 {
     if (row != null && row.EnovaObject != null)
     {
         CallMethodFull("AddRow", new Type[] { Type.GetType("Soneta.Business.Row, Soneta.Business") }, new object[] { row.EnovaObject });
     }
 }
Exemplo n.º 2
0
        public bool Equals(API.Business.Row x, API.Business.Row y)
        {
            bool comp = compareTableName ? string.Compare(x.Table.TableName, y.Table.TableName, true) == 0 : true;

            if (comp)
            {
                comp = x.ID == y.ID;
            }
            return(comp);
        }
Exemplo n.º 3
0
 public int GetHashCode(API.Business.Row obj)
 {
     return(compareTableName ? (obj.Table.TableName + "_" + obj.ID.ToString()).GetHashCode() : obj.ID.GetHashCode());
 }