public static string GetValTextV1(string enName, string pkVal) { SysDocFile sdf = new SysDocFile(); sdf.MyPK = enName + "@Doc@" + pkVal; sdf.RetrieveFromDBSources(); return(sdf.DocText); }
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(); }