On August 13,1987 appellant, Great Plains Federal Savings and Loan Association (appellant), sued appellees, an attorney and a law firm (appellees), in tort for legal malpractice and for breach of an oral contract between the parties or, alternatively, a contract between appellees and another whereby appellant claimed third-party beneficiary status. Certain documents were attached to the petition, including a written title opinion from appellees to appellant dated August 14, 1984, a follow-up opinion dated September 24, 1984 and a letter from appellees to appellant dated July 24, 1986 indicating a mortgage of record when the earlier title opinions were rendered was only recently discovered by appellees. Appellees moved to dismiss pursuant to 12 O.S.Supp.1984, § 2012(B)(6). They argued the petition failed to state a claim upon which relief could be granted because it showed on its face the action was barred by the two year limitation period found at 12 O.S.1981, § 95 (Third).1 Appellant responded arguing the action was controlled by the three year limitation period found at 12 O.S.1981, § 95 (Second) for suits for breach of oral contracts. Appellant expressly waived any theory of liability based in tort and elected to proceed in contract. It stated in the response, “[t]hus, Plaintiff is electing to waive its cause of action in tort and to proceed upon a breach of contract.” The trial court, obviously convinced the matter could only proceed in tort for legal malpractice, granted the motion to dismiss. Appellant appealed and the Court of Appeals affirmed.2 We previously granted certiorari.
*1090As pertinent for our decision the petition and the documents attached to it allege the following:3 An individual, John Hudson sought a $375,000.00 loan from appellant. Hudson furnished financial statements to appellant which listed a 344.2 acre farm having a value of $757,240.00 as an asset. The statements indicated a loan against the farm with another financial institution having a balance of $120,000,00. In order to determine the advisability of the loan appellant either entered into a contract with appellees to examine the abstract of title to the property and certain documents in the Grady County Clerk’s Office or, alternatively, appellant was specifically intended to be a third-party beneficiary of a contract between Hudson and appellees to do so.
On August 14, 1984 appellees, by B. Wayne Dabney, sent a title opinion/letter to Bill Davis of appellant, which said it was being sent at Davis’ request, an abstract of title certified to October 1, 1975 had been examined, as well as certain instruments recorded in the Grady County Clerk’s Office. The letter also detailed the debt to the other financial institution. The last sentence of the letter provides in pertinent part, “[t]his opinion is ... for loan purposes only and is written for the use and benefit of the bank only.” On August 16, 1984 appellant, in reliance upon the letter, loaned Hudson $375,000.00 secured by a real estate mortgage. On September 24, 1984 Dabney sent a follow-up title opinion/letter to Davis opining the mortgage to appellant “appears to be a valid and existing second mortgage lien upon the ... property.” (emphasis in original) Appellant’s loan to Hudson was due and payable, along with certain interest, on February 14, *10911985. Hudson defaulted. On July 24, 1986 Dabney sent a further letter to Davis in care of an attorney advising an existing mortgage to a third financial institution was discovered which had been filed and recorded in the records of the County Clerk of Grady County on March 10, 1982 and telling Davis, “[i]t appears that this mortgage is prior to your mortgage on the property.” Appellant sued for the principal loan amount, interest, costs and attorney fees.
As we view the allegations and the reasonable inferences to be drawn from them, appellant alleged not only that appel-lees were engaged to perform a title opinion relying on an abstract of title certified by an independent abstracting company, but they were engaged either by appellant itself or, alternatively, by Hudson, with appellant being a specifically intended third-party beneficiary, to search the records of the County Clerk from the period of the abstract of title noted in the August Hth title opinion/letter (i.e. October 1, 1975) to the date of the August 14th letter in 1984■ In essence, part of appel-lees' responsibilities under the purported oral contract was to act like an abstractor to search the records. Although not expressly alleged in the petition or documents attached thereto we believe the reasonable inference flowing from the petition and documents is appellees were alleged to have agreed to furnish a correct statement of those documents affecting the title for loan purposes from October 1, 1975 (the certification date of the abstract reviewed) to the date of the title opinion in August 1984.4
We have held when an abstracting company breaches an oral agreement to diligently search real estate records, provide an abstract of title and a certificate thereof, the cause of action is one founded on the breach of an oral contract and is governed by the three year limitation period. Close v. Coates, 187 Okla. 315, 102 P.2d 613 (1940); Freeman v. Wilson, 105 Okla. 87, 231 P. 869 (1924); Garland v. Zebold, 98 Okla. 6, 223 P. 682 (1924). The cause of action accrues on the delivery date of the certificate of title. Close v. Coates, supra. We can hold no differently merely because a lawyer or law firm are alleged to have entered into a similar type of oral contract. Accordingly, the earliest point the three year limitation period would begin to run would be August 14, 1984, the date of the initial title opinion.5
Appellees argue the instant case should be controlled by Funnell v. Jones, 737 P.2d 105 (Okla.1985), cert. denied, 484 U.S. 853, 108 S.Ct. 158, 98 L.Ed.2d 113 (1987), a case where we applied the two year tort limitation period to a legal malpractice case. Ap-pellees’ reliance on Funnell is misplaced. The opinion in Funnell gives no indication a separate contract theory was alleged there or that the plaintiffs there attempted to rely on the three year limitation period for oral contracts. Thus, our statement in Funnell to the effect an action for malpractice, whether legal or medical, though based on a contract of employment, is an action in tort, must be taken in the context it was made, to wit: determining whether the two year limitation for torts was tolled based on allegations of fraudulent concealment on the part of defendant attorneys and that no acts alleged against defendants occurred within the two years immediately *1092preceding filing of the lawsuit. Id. at 107-108. We did not decide in Funnell a proceeding against a lawyer or law firm is limited only to a proceeding based in tort no matter what the allegations of a petition brought against the lawyer or law firm. We have never so held and, in fact, to so rule would be tantamount to treating lawyers differently than we have treated other professions, something we refuse to do.
We have held a party may bring a claim based in both tort and contract against a professional and that such action may arise from the same set of facts. Flint Ridge Development Company, Inc. v. Benham-Blair and Affiliates, Inc., 775 P.2d 797, 799-801 (Okla.1989) (architectural, engineering and construction supervision services). In essence, the holding of Flint Ridge is, if the alleged contract of employment merely incorporates by reference or by implication a general standard of skill or care which a defendant would be bound independent of the contract a tort case is presented governed by the tort limitation period. Id. at 799-801. However, where the parties have spelled out the performance promised by defendant and defendant commits to the performance without reference to and irrespective of any general standard, a contract theory would be viable, regardless of any negligence on the part of a professional defendant. Id. As pertinent here, the specific promise alleged or reasonably inferred from the petition and documents attached thereto was to search the records of the County Clerk for an approximate nine (9) year period and report those records on file affecting the title for loan purposes. Simply, ¿/this was the promised obligation a contractual theory of liability is appropriate which is governed by the three year limitation period applicable to oral contracts.
Consistent with this view is a case relied on by both parties to support their respective positions, Seanor v. Browne, 154 Okla. 222, 7 P.2d 627 (1932). Seanor holds although the gravamen of an action against a physician is in tort, where a special oral contract is also alleged whereby defendant agreed to cure the injury of plaintiff the action also sounds in contract and use of the three year limitation period is appropriate to the contract portion. Id., 7 P.2d at 627-628, Second Syllabus.6 Here, although the gravamen of the petition is in tort we are of the opinion the petition, with attached documents, and the reasonable inferences to be drawn therefrom, are sufficient to plead a special oral contract to diligently and correctly search and report as to the records in the Grady County Clerk's Office from October 1, 1975 to the date of the first title opinion/letter of August 14, 1984.7
*1093Appellees also assert the action should not be allowed to go forward on a contract claim on the basis of appellant’s claimed third-party beneficiary status. Appellant has sufficiently alleged such status. The primary issue in a ease where the suing plaintiff claims third-party beneficiary status is whether the direct parties to the contract intended the third party to have such status. Barbero v. Equitable General Insurance Company, 607 P.2d 670, 673 (Okla.1980). Where a contract is made expressly for the benefit of a third party that party may avail himself of contractual benefits and maintain an action thereon. Keel v. Titan Construction Corporation, 639 P.2d 1228, 1231 (Okla.1981). In fact, by statute, “[a] contract, made expressly for the benefit of a third person may be enforced by him at any time before the parties thereto rescind it.” 15 O.S. 1991, § 29.
Appellees argue, however, the general rule that attorneys are liable for their misdeeds only to their employers, i.e. their clients and normally some privity of contract is necessary between the suing party and the legal practitioner. We do not question the general rule as stated in cases such as Savings Bank v. Ward, 100 U.S. 195, 25 L.Ed. 621 (1879). However, Ward is distinguishable from the present case. First and foremost, no contractual third-party beneficiary status was claimed there. Second, the facts involved were wholly different from the facts alleged here. The attorney in Ward had no knowledge of the purpose his client was obtaining an examination of title. Id. at 197 and 199. The attorney never had any contact with the financial institution. Id. Further, the attorney rendered nothing to the financial institution at its request or on its behalf. Id. at 200. Finally, no statute was involved there, like ours found at 15 O.S.1991, § 29, which allows a contract to be enforced which is expressly made for the benefit of a third party.8
Given the rather pointed statement of Dabney contained in the last sentence of the August 14th title opinion/letter to Davis that the letter opinion is written for the use and benefit of appellant only we would be hard-pressed to say a factual question is not raised at the pleading stage as to appellant’s status as a third-party beneficiary. As also noted, Dabney’s initial letter stated it was being sent at Davis’ request. We also note the August 14th letter contained the following language, “[s]ubject to the following objections, exceptions and requirements, I approve the title for loan purposes[]”. These allegations at the pleading stage are sufficient to allow the case to go forward and were sufficient to withstand a motion to dismiss for failure to state a claim upon which relief can be granted.9
For the above reasons, the decision of the Court of Appeals is VACATED, the judgment of the trial court dismissing the action is REVERSED and the matter is REMANDED to the trial court for further proceedings.
HARGRAVE, OPALA, ALMA WILSON, KAUGER and WATT, JJ., concur. SUMMERS, J., concurs specially. HODGES, C.J., dissents. SIMMS, J., not participating.. Section 95 was recently amended by the Forty-Third Legislature in a manner not pertinent here. The amendment concerns time limits for certain types of sexual abuse cases and may be found at 1992 Okla.Sess.Law Serv., Ch. 344, § 1.
. Much briefing of the parties on appeal and the decision of the Court of Appeals concerns the limitation period for torts found at § 95 (Third) and applicability of the discovery rule to legal malpractice cases. No such argument was made by appellant in its two response briefs to the motion to dismiss filed in the trial court. *1090Although at oral argument in the trial court appellant’s attorney mentioned the potential for a fraudulent concealment tolling of the two year statute for torts, neither such an issue nor the discovery issue was contained in either of its response briefs in the trial court. As noted in the text, in its initial response brief appellant expressly waived any theory of liability based in tort and elected to proceed only in contract. Accordingly, it was improper for the Court of Appeals to consider the applicability in this case of any discovery rule issue on appeal. This is so because generally, parties on appeal are limited to the issues presented to the trial court. Jones v. Alpine Investments, Inc., 764 P.2d 513, 515 (Okla.1987). For this reason we do not consider any issue in this case concerned with the applicability of the discovery rule as it might apply to cases sounding in tort for legal malpractice. This issue was not before the trial court and it cannot be raised for the first time on appeal. For the same reason we do not consider any potential fraudulent concealment issue. We also note in its certiorari petition appellant, as to the contract issue, only questions the Court of Appeals’ ruling as to its status, or lack thereof, as a third-party beneficiary and we will, thus, decide that issue.
. In ruling on a motion to dismiss allegations in the petition must be construed in connection with exhibits attached to the pleading. See Eckel v. Adair, 698 P.2d 921, 923 (Okla.1984). In other words, it is proper to consider exhibits attached to a petition when ruling on a motion to dismiss for failure to state a claim upon which relief can be granted made pursuant to 12 O.S.1991, § 2012(B)(6). In fact, 12 O.S.1991, § 2010(C) specifically provides, "[a]ny written instrument which is an exhibit to a pleading is a part thereof for all purposes.” Furthermore, in ruling on a motion to dismiss an appellate court must take as true all of the challenged pleading’s allegations together with all reasonable inferences which may be drawn from them. Eckel, supra at 923. Although Eckel was litigated in the trial court prior to the effectiveness of the Oklahoma Pleading Code, 12 O.S.Supp.1984, § 2001 et seq., as amended, and it dealt with review of a judgment which sustained a general demurrer, the comments to § 2012(B)(6) make it clear a motion to dismiss for failure to state a claim upon which relief can be granted under the Oklahoma Pleading Code was intended to take the place of a general demurrer. In pertinent part the Committee Comment to Section 2012 provides:
A motion to dismiss for failure to state a claim upon which relief can be granted under paragraph 6 of subsection B of Section 2012 replaces the code versions of the general demurrer to the pleadings. But a petition should not be dismissed for failure to state a claim unless it appears beyond doubt that the plaintiff can prove no set of facts in support of his claim which would entitle him to relief, (citations omitted)
Okla.Stat.Ann. tit. 12, § 2012, Committee Comment to Section 2012 (West). Both § 2012 and § 2010 have remained unchanged since the adoption of the Oklahoma Pleading Code in 1984. Finally, where a petition pleads facts sufficient upon their face to show an action is not barred and has been brought in the time allowed by statute, it is error to sustain a demurrer thereto. First National Bank of Harrah v. Wright, 192 Okla. 182, 135 P.2d 344, Third Syllabus (1943).
. Of course, we cannot speak to whether or not appellees actually agreed to correctly search and report all such documents. Here we are merely at the pleading stage and we must take as true all well-plead allegations in the petition and documents attached thereto and the reasonable inferences to be drawn therefrom. Eckel v. Adair, note 3, supra.
. We wish to point out we do not intimate the alleged contract is exactly like one that an ab-stractor covered by the Oklahoma Abstractors Law, 74 O.S.1991, § 227.10 et seq. might enter into or that appellees were engaged in conduct subject to that Law. We simply hold on the facts alleged in the petition, with attached documents, and the reasonable inferences to be drawn therefrom, the allegations are sufficiently like the abstractor situation under the cases cited in the text to call for use of the three year limitation period for oral contracts. We also note § 227.29 of the Oklahoma Abstractors Law provides a five year statute of limitation from the date the abstract certificate is issued. Appellant does not argue said limitation period or the Abstractors Law in general is applicable here.
. We note Funnell cited to Seanor v. Browne when it stated an action for malpractice, whether legal or medical, though based on a contract of employment, is an action in tort governed by the two year limitation period. Funnell, 737 P.2d at 107. Obviously, in that Seanor itself also recognized the potentiality for a contract theory governed by the three year limitation period, Funnell could not have been holding all actions against attorneys for legal or legally related work must be grounded in tort no matter what the lawyer agreed to do or accomplish.
. We note that although appellant does allege in the petition appellees were negligent in performing under the alleged contract (apparently because appellant mistakenly thought negligence had to be proved even if a specific performance was promised) the petition does not unequivocally indicate the agreement bound appel-lees only by a requirement of ordinary care in searching for and reporting relevant documents. Accordingly, under our liberal pleading rules and the standard for determining when a motion to dismiss for failure to state a claim upon which relief can be granted should be sustained it was improper to sustain the motion to dismiss. Whether appellees did, in fact, bind themselves to a specific performance without reference to and irrespective of any negligence on their part so as to support a contract action beyond the pleading stage will, of course, have to await further developments in the trial court. At this stage of the proceeding, however, we can express no view as to what the true facts were. This determination can be made only upon further proof. Our decision therefore should not be read to foreclose appellees from pursuing their statute of limitation defense via a motion for summary judgment under the applicable rules set out herein for when an action against a professional may appropriately proceed in contract or, alternatively, would only support an action sounding in tort which would be subject to the shorter two year limitation period of 12 O.S.1981, § 95 (Third).
. Appellees’ reliance on cases such as Anderson v. Canaday, 37 Okla. 171, 131 P. 697 (1913) and Thomas Fruit Co. v. Levergood, 135 Okla. 105, 274 P. 471 (1929) is also misplaced. Neither of those cases was based on any type of contractual theory. Further, the rule espoused therein to the effect an attorney is not liable to another for the acts of his client based on the attorney’s advice in the absence of some type of bad faith on the part of the attorney simply has no application to a situation where, as here, a third-party beneficiary contract is asserted.
. For cases recognizing attorneys may be liable based on a third-party beneficiary analysis see Annot. “Attorney's liability, to one other than immediate client, for negligence in connection with legal duties,” 61 A.L.R. 4th 615, 661-673 (1988).