Exemplo n.º 1
0
        public static string GetValTextV1(string enName, string pkVal)
        {
            SysDocFile sdf = new SysDocFile();

            sdf.MyPK = enName + "@Doc@" + pkVal;
            sdf.RetrieveFromDBSources();
            return(sdf.DocText);
        }
Exemplo n.º 2
0
        public static void SetValV1(string enName, string pkVal, string val)
        {
            SysDocFile sdf = new SysDocFile();

            sdf.MyPK     = enName + "@Doc@" + pkVal;
            sdf.FileSize = val.Length;
            sdf.DocText  = val;
            sdf.Save();
        }