Maybe I am doing something wrong but all of a sudden my dao's are not being generated correctly. This is what my save() methods look like

    <cffunction name="save" access="public" hint="I create or update a step record." output="false" returntype="void">
        <cfargument name="to" hint="I am the transfer object for step" required="yes" type="reactor.project.cm.To.stepTo" />

       
        <cfset create( arguments.to) />
           
    </cffunction>

And my delete method looks like this


    <cffunction name="delete" access="public" hint="I delete a record in the step table." output="false" returntype="void">
        <cfargument name="to" hint="I am the transfer object for step which will be used to delete from the table." required="yes" type="reactor.project.cm.To.stepTo" />
        <cfset var Convention = getConventions() />
        <cfset var qDelete = 0 />
       
        <cfquery name="qDelete" datasource="#_getConfig().getDsn()#" username="#_getConfig().getUsername()#" password="#_getConfig().getPassword()#">
            DELETE FROM #Convention.FormatObjectName(getObjectMetadata())#
            WHERE
           
        </cfquery>
       
    </cffunction>


Am I doing something wrong?



--
Dan Vega
[EMAIL PROTECTED]
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to