Questions tagged [mygeneration]

Questions regarding the MyGeneration code generator.

Questions about the Windows code generation application MyGeneration. Open source, available at sourceforge.

MyGeneration supports scripting in vbscript, c#, vb.net for output in several languages.

29 questions
3
votes
3 answers

DataLayer of a new Application: MyGeneration and/or Entity-Framework

The platform is ASP.Net 3.5sp1, with an Oracle db. We've considered both MyGeneration and Entity Framework for time and convenience in the DataLayer (and maybe some base classes in the Business Layer). My questions are: Any pros and cons of…
Tim Hoolihan
  • 12,316
  • 3
  • 41
  • 54
3
votes
4 answers

What is a good replacement for MyGeneration / d00dads code generation and data layer?

I have used MyGeneration and the d00dads architecture for several years, and have been a big proponent. The tool is fairly simple and straightforward and the code layer is dead simple. But a recent experience with it has left me a bit wary now. …
Bryan
  • 8,748
  • 7
  • 41
  • 62
2
votes
0 answers

MyGeneration MYSQL connection error

Iam using MyGeneration Doodads to connect to MySql DB i connect using microsoft ole db provider for odbc drivers but get the following error [System.ArgumentException] - The .Net Framework Data Provider for OLEDB (System.Data.OleDb) does not…
2
votes
1 answer

How to avoid 'Unknown' data types when generating code with MyGeneration and Oracle 10?

I am attempting to generate a dOOdads business entity using MyGeneration against an Oracle database table. ( http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx ) The class generator appears to have issues detecting the…
Michael Rosario
  • 838
  • 1
  • 11
  • 26
2
votes
3 answers

myGeneration problem with OraOleDB.Oracle provider (?)

I can't make myGeneration tool to work correctly. This is the connection string that I use: Provider=OraOLEDB.Oracle.1;Password=pass123;User ID=user1;Data Source=oradb1src;Persist Security Info=True And when I click on Test connection I…
Goran
  • 1,807
  • 7
  • 27
  • 41
2
votes
3 answers

Why is MyGeneration stored procedure generator template not working?

I downloaded the stored procedure generator template from this link: http://www.mygenerationsoftware.com/TemplateLibrary/Template/?id=10998336-5037-496c-a163-050060de065a Basically it generates Insert, Update, Delete, Select and LoadByPrimaryKey…
Jack
  • 7,433
  • 22
  • 63
  • 107
1
vote
1 answer

Handling Contraints And Identifiers In A Custom Object Model For Persisting To A Relational Database

I have a robust set of objects that relate to one another and I need to figure out that best way to handle saving them to the database and still account for things like data constraints. Let's say I have the following classes: class Foo { public…
Ben Lesh
  • 107,825
  • 47
  • 247
  • 232
1
vote
1 answer

MyGeneration Template Creation Tutorials

Just wondering if anyone has some good resources for learning how to create new templates with MyGeneration? I've only found a couple of very basic introductions so far, and the majority of the rest of the documentation appears to be about…
RSlaughter
  • 1,191
  • 3
  • 11
  • 23
1
vote
1 answer

Generate code from SPs using codesmith or MyGeneration?

I have CodeSmith and MyGeneration tools. I have SPs in SQL server. I want generate VB.Net code for SPs (not for Tables). Which templates will support for this? Please share if you know any templates that generates VB.net code from SP?.
James123
  • 11,184
  • 66
  • 189
  • 343
1
vote
2 answers

Is it possible to write MyGeneration Templates in F# and how?

I want to write a MyGeneration Template File in F#. I know you can target various languages etc VB.NET and C# however for my own selfish benefit I would like to write it in F#. Anyone one if and how this is possible?
Jonathan
  • 2,318
  • 7
  • 25
  • 44
1
vote
2 answers

Using MyGeneration, doodads, and Oracle XE, is it possible to implement an "auto number primary key" scheme?

Using MyGeneration, doodads, and Oracle XE, is it possible to implement an "auto number primary key" scheme? Problem facts: I am using Oracle XE. I have implemented the following table and trigger: CREATE TABLE "USERS" ( "ID" NUMBER(38,0),…
Michael Rosario
  • 838
  • 1
  • 11
  • 26
1
vote
1 answer

How to get list of objects from BusinessEntity using myGeneration?

I used myGeneration in some projects; I noticed that BusinessEntity keeps the result of the query in a DataTable, But what if the developer wants to get the result as List of objects? To solve this, I made the following modification for my own…
houssam11350
  • 216
  • 1
  • 9
1
vote
2 answers

using MyGeneration doodads in C# .NET

I have added a new control to my .NET form and I want to save its value in a table.I have added a new column in my table.How do you use MyGeneration Doodads to create a data access object for this table?I have looked at…
user2350631
  • 61
  • 1
  • 5
1
vote
1 answer

Mygeneration Template Editor

i used mygeneration to generate my code,it is very helpful but i found that the template editor is awful, and i dont have any substitution. do u have any ideas? or better generator?(no CodeSmith, it is commercial) thanks :)
llj098
  • 1,404
  • 11
  • 13
0
votes
1 answer

Mygeneration autonumber field bug with MS Access database

I am using Mygeneration tools to create the abstract classes responsible for dealing with database to perform CRUD operation as well as some other dooDad operations. Problem is I cant retrieve the auto number field (it is also Primary Key) of table…
Masud Rahman
  • 1,064
  • 4
  • 14
  • 28
1
2