public override ICollection <aPermissionData> toDataObject(string owner = "")
        {
            aPermissionData me = DataAccess.getPremmisionEM(owner, this.store);

            if (me == null)
            {
                me = new editManagerPermissionsData(store, sponser);
            }
            if (next == null)
            {
                return new List <aPermissionData> {
                           me
                }
            }
            ;
            else
            {
                ICollection <aPermissionData> ans = next.toDataObject(owner);

                ans.Add(me);
                return(ans);
            }
        }
示例#2
0
 public static aPermission toObject(aPermissionData data)
 {
     throw new Exception("override failed");
 }