public int NewRabbit(OneRabbit r, int mom) { int rId = RabbitGetter.newRabbit(sql, r, mom); #if !DEMO Import.RabbitImp(sql, rId, r.Group); #endif return(rId); }
public int NewRabbit(OneRabbit r, int mom, int clientId, string fileGuid) { int oldId = r.ID; int rId = RabbitGetter.newRabbit(sql, r, mom); Import.RabbitImp(sql, rId, r.Group, clientId, oldId, fileGuid); if (Import.AscendantExists(sql, oldId, clientId)) { Import.AdaptExportedAscendant(sql, oldId, clientId, rId, r.Sex); } return(rId); }
public void ImportRabbit(int rId, int count, int clientId, int oldRID, string fileGuid) { Import.RabbitImp(sql, rId, count, clientId, oldRID, fileGuid); }
public void ImportRabbit(int rId, int count) { Import.RabbitImp(sql, rId, count); }