Ejemplo n.º 1
0
 public override string ToString()
 {
     return($"{base.ToString()}\n" +
            $"FolderID: {mFolderID}\n" +
            $"Type: '{FieldTypeUtil.ToChar(mType)}'\n" +
            $"DefVal: '{mDefVal}\n" +
            $"Aligment: '{FieldAlignmentUtil.ToChar(mAlignment)}'\n" +
            $"Width: {mWidth}\n" +
            $"lovID: {mLOVID}\n" +
            $"Ord: {mOrd}");
 }
Ejemplo n.º 2
0
        protected override SqlParameterCollection GetSaveParameters()
        {
            SqlParameterCollection result = base.GetSaveParameters();

            AddParam(result, "@folderID", SqlParamTypesEnum.Integer, mFolderID);
            AddParam(result, "@type", SqlParamTypesEnum.String, FieldTypeUtil.ToChar(mType));
            AddParam(result, "@defVal", SqlParamTypesEnum.String, mDefVal);
            AddParam(result, "@width", SqlParamTypesEnum.Integer, mWidth);
            AddParam(result, "@alignment", SqlParamTypesEnum.String, FieldAlignmentUtil.ToChar(mAlignment));
            AddParam(result, "@lovID", SqlParamTypesEnum.Integer, mLOVID);
            AddParam(result, "@ord", SqlParamTypesEnum.Integer, mOrd);
            return(result);
        }